- Notifications
You must be signed in to change notification settings - Fork441
Initial State#753
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Hi,
|
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 3 comments 1 reply
-
If you would like the initial condition response, you need to provide the initial state from which you would like to simulate the system as an argument to
Note, however, that since you are dealing with transfer functions, the "states" of your system are not well-defined. The state space representation of your system has three states (1 from the PID controller A more common response for a transfer function is the step response, which you can obtain using If you really want the initial condition response, change the next to last line of your function to be something like
|
BetaWas this translation helpful?Give feedback.
All reactions
-
Thanks for the quick response! |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Hi, I have very little knowledge about simulation, and I really don't get why this behavior. If someone with more experience than me could explain how to set this X0 value. Thanks ! |
BetaWas this translation helpful?Give feedback.
All reactions
-
@Dimethylebutane glad to hear that the simulation example for discrete-continuous systems was useful! you usually don't want to use nonzero initial conditions. usually you are interested in driving your system, starting from zero, to a new desired position. or simulating what happens when a disturbance enters right before the plant. both of those involve zero initial conditions. that said, if all of your systems are state space, then their states are ordered in the order you passed them into |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1