We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Single-step size simulation should be possible. This can be achieved by updating the buffer sizes of the sink components in the model.
The text was updated successfully, but these errors were encountered:
Single step size simulation
a24d093
Fixes #76
Example script
using Causal # Construct model @defmodel model begin @nodes begin gen = SinewaveGenerator() ds = ContinuousLinearSystem( A = fill(-1., 1, 1), B = fill(1., 1, 1), C = fill(-1., 1, 1), D = fill(0., 1, 1), state = [1.], t = 0., input = Inport(), output = Outport() ) writer = Writer(buflen = 1) # Single-length buffer end @branches begin gen => ds ds => writer end end # Simulate model clk = Clock(1) sim = simulate!(model, clk) # Read simulation data t, x = getcomponent(model, :writer) |> read @show t, x;
Sorry, something went wrong.
zekeriyasari
No branches or pull requests
Single-step size simulation should be possible. This can be achieved by updating the buffer sizes of the sink components in the model.
The text was updated successfully, but these errors were encountered: