- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Variables flow
Variables flow
Variables flow
Hi,
I have a problem with the varible flow during the programing in Modelica, the software always takes me this varible flow = 0 (voulumique or mass flow);
Please could you give me a small example so that I can analyze things.
In advance thank you very much.
class Boucle.Flow
parameter Real q(quantity = "VolumeFlowRate", unit = "m3/s", start = 10.0);
Real T(quantity = "ThermodynamicTemperature", unit = "K", displayUnit = "degC", min = 0.0);
Real p(quantity = "Pressure", unit = "Pa", displayUnit = "bar");
equation
q = 0.0;
end Boucle.Flow;
Hamza;
Re: Variables flow
Hi,
In the case of a program, that there is a trick to metter in place to define the parameters (data) in a single folder (program) and the results to calculate (production) to another folder (program).
(file parameter or give) up (system program) followed (file résulatats).
In advance thank you very much.
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Variables flow