Model/GenerateABCD
Usage
generate_abcd (pinput=None, poutput=None, format="matlab")
Examples
# Create a model & perform a simulation
m = CreateStewartPlatform (output="Stewart-Platform")
m.simulate (type="DYNAMICS", end=2, dtout=0.01, returnResults=True)
# Now reset the simulation, load a different model and perform a simulation
m.reset()
m2 = createClock (output="Clock Mechanism")
m2.simulate (type="STATICS", end=2, dtout=0.01, returnResults=True)
Attributes
- pinput
- Reference Pinput
- poutput
- Reference POutput
- format
- String
Examples
# Create a model
m = CreateStewartPlatform (output=
"Stewart-Platform"
)
# Reload the simulation state at t=1.77
m.generate_abcd (pinput=pin, poutput=pou, fomat="matlab")