Skip to content

Custom System Models using Neurmancer for DPC #131

Answered by drgona
abhigyan9 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @abhigyan9, thanks for the inquiry!

If you know your model beforehand, you can define it as a Python callable to be wrapped in the Node class for the System class.

Here is an example of apriori known linear state space model defined via simple lambda function
https://github.com/pnnl/neuromancer/blob/master/examples/control/Part_1_stabilize_linear_system.ipynb

You can define more complex nonlinear state space (SSM) models in a similar way simply by implementing it in a python function.
For this you can use our base SSM class where you need to define state and input dynamics yourself
https://github.com/pnnl/neuromancer/blob/master/src/neuromancer/dynamics/ode.py#L6

In case you have a con…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by drgona
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants