- Index
- » Programming
- » Modelica Language
- » Modelica.Fluid : Errors using...
Modelica.Fluid : Errors using multiple components to discripe a flow
Modelica.Fluid : Errors using multiple components to discripe a flow
Hi there,
I am developing some components, that help to do some steady state simulation of paper plants.
I want to use measured data from the plant.
The data does not directly fit the flow port requirements of m_flow, Xi and h so I have to use my components to convert the parameters to the data required by the fluid ports. Therefor I add parameters to e.g. pipes and leave boundaries with no or only p as parameter.
An example is MoistAir, where I set a VolumeFlowRate, a absolute humidity (ks water / kg dry air), temperature and pressure.
I use Boolean parameters to denable parameters and equations, when ceratain values are known at some points.
Everything is doing fine, as long as I have only simple examples, like on source, on sink and the demand pipe inbetween.
Problem:
When I start to split the known values on multiple pipes in a row, I get problems with determination and the balance of variables and equations.
In therory the model should still be balanced, but it seems like Modelica gets wired about it and quotes me to less equations.
I am aware of the stream issues in general and am using inStream in h_outflow and Xi_outflow of the flowports and use them in all objects.
Any ideas what could be wrong?
Uwe
- uschoene
- 8 Posts
- Index
- » Programming
- » Modelica Language
- » Modelica.Fluid : Errors using...