- Index
- » Programming
- » Modelica Language
- » Inversing the simulation: steady...
Inversing the simulation: steady state model
Inversing the simulation: steady state model
Hi, I want to know if a model can be inversed in modelica. (here inverse means: if in causal statement y= x +a; x and a are input and y is output; but if i want to find x as output and y and a as input, the model is called reversed/inversed model) For example, if i have compressor with input air port and output air port, and port has variables associated with it are pressure(P), temperature(T) and mass flow rate(mdot). I have simple steady state model containing three equations as follow:
1. OutPort.mdot = InPort.mdot
2. OutPort.P = rc * InPort.P
3. OutPort.T = InPort.T * (1 + rc[ (gamma-1)/gamma) - 1][/sup] / eta);
Here, rc, gamma and eta are compression ratio, ratio of specific heat capacitites and efficiency of compressor.
I want to kwow, if i know values of : gamma, eta ,OutPort.mdot, OutPort.P and OutPort.T and InPort.P and InPort.T, can i find the value of rc.
Can i find values of rc and how should be the model of compressor with above equation.
Thanks
Re: Inversing the simulation: steady state model
Unfortunately not so many modelers read this forum and the compiler developers do not know the answers, so I suggest you post your question here:
https://stackoverflow.com/questions/tagged/modelica
to reach more modelers.
- adrpo
- 885 Posts
- Index
- » Programming
- » Modelica Language
- » Inversing the simulation: steady...