Commit 3ebf7aae authored by Jesse VanderWees's avatar Jesse VanderWees 🐘

remove control vars from simulation test model and set start attributes fixed=true

parent a799ce54
model TestModel
parameter Real x_start;
Real x(start=x_start);
Real w(start=0.0);
Real x(start=x_start, fixed=true);
Real w(start=0.0, fixed=true);
Real alias;
parameter Real k = 1.0;
input Real u;
output Real u_out;
output Real y;
output Real z;
......@@ -21,7 +18,7 @@ model TestModel
output Real constant_output;
equation
der(x) = k * x + u;
der(x) = k * x;
der(w) = x;
alias = x;
......@@ -38,6 +35,4 @@ equation
constant_output = constant_input;
u_out = u + 1;
end TestModel;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment