Comments (3)
Hi Huynh, can you provide a sample code snippet so that I can know what kind of symbolic format you want us to implement?
from neurodiffeq.
Is usage of sympy applicable here? It would be good to some existing library of symbolics for parsing and lowering.
from neurodiffeq.
@shuheng-liu Thank you for your reply.
This is the example of equations that I want to implement.
eq12 = [
if i in bus_gen
j = bus_gen.index(i)
0 ~ (Id[j]*V[i]*(A[j]*y[i] - B[j]*x[i]) + Iq[j]*V[i]*(B[j]*y[i] + A[j]*x[i])) - Pd[i] -
sum(Y_matrix[i,k].im*V[i]*V[k]*(x[i]*y[k] - y[i]*x[k]) + Y_matrix[i,k].re*V[i]*V[k]*(y[i]*y[k] + x[i]*x[k]) for k in 1:n)
else
0 ~ -Pd[i] -
sum(Y_matrix[i,k].im*V[i]*V[k]*(x[i]*y[k] - y[i]*x[k]) + Y_matrix[i,k].re*V[i]*V[k]*(y[i]*y[k] + x[i]*x[k]) for k in 1:n)
for i in 1:n
]
Where Id, Iq, A, B, V, x, y are variables and Y_matrix and Pd are parameters (constants)
I have a several set of equations like this and the total of equations can be 78 or more. So a symbolic format will be convenient when I change the system (for a larger system).
from neurodiffeq.
Related Issues (20)
- Is there a way to access the train/valid loss history for Solver1D, like for solve? HOT 2
- Using Special type activation function HOT 9
- Finding value of weights HOT 2
- Saving subclass of solvers HOT 1
- TqdmKeyError: "Unknown argument(s): {'colour': 'blue'}" HOT 3
- Publish `neurodiffeq` on `conda-forge`?
- Neumann boundary conditions
- Nonzero Dirichlet boundary conditions HOT 8
- Add tests for solver_utils
- BundleSolver setup too restrictive HOT 1
- fitting a variable in a system of ODE as a function of time HOT 4
- Problems :return inspect.signature(optimizer.step).parameters.get('closure').default == inspect._empty AttributeError: 'NoneType' object has no attribute 'default' HOT 2
- Parametric system of ODEs HOT 1
- Bundle Solution for PDEs
- Improve Docs
- Solving system of PDEs/ODEs HOT 1
- Missing eq_param_index when loading BundleSolution HOT 4
- Access to the differential equations of the system.
- Adding the option to use a learning rate schedule during training.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neurodiffeq.