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 model TestModel
parameter Real x_start; parameter Real x_start;
Real x(start=x_start); Real x(start=x_start, fixed=true);
Real w(start=0.0); Real w(start=0.0, fixed=true);
Real alias; Real alias;
parameter Real k = 1.0; parameter Real k = 1.0;
input Real u;
output Real u_out;
output Real y; output Real y;
output Real z; output Real z;
...@@ -21,7 +18,7 @@ model TestModel ...@@ -21,7 +18,7 @@ model TestModel
output Real constant_output; output Real constant_output;
equation equation
der(x) = k * x + u; der(x) = k * x;
der(w) = x; der(w) = x;
alias = x; alias = x;
...@@ -38,6 +35,4 @@ equation ...@@ -38,6 +35,4 @@ equation
constant_output = constant_input; constant_output = constant_input;
u_out = u + 1;
end TestModel; 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