Francesco Casella
Francesco Casella
@pepmts it is not clear to me what you mean by "failure mode". Is `fouling` an integer variable (0: OK, 1: faulty, 2: irreparably broken) or is is a Real...
If it is a Real parameter, this can be done by giving a default binding to it: ```modelica model HeatExchanger Real fouling = 0; ... ``` If you use the...
> fouling is a real variable, but we want to be able to define inputs in faulty models, that are assigned to this "failure variable". The only way I see...
> Agreed, I made a wrong example. So you would say that this is not balanced ? : > > ```modelica > model SimplePlant_faulty > extends SimplePlant( > hex(fouling=Failure_fouling); >...
The only question is if you want to use input Real or rather a connector input. According to the rules for balanced models in `Section 4.7` of the Modelica specification,...
If you use a connector Input, you can do it with a connect, or with an extra equation in the system where the model is instantiated
BTW, if I understand correctly, you could define the heat exchanger model as ``` modelica model HeatExchanger input Real fouling = 0; ... end HeatExchanger; ``` by using input Real...
I hope I haven't managed to get you more confused 😅
We had a meeting today with @pepmts, @casella and @AndreaBartolini to discuss the issue. After some internal discussion, we came up with an assessment of the current status and a...
**Part 1: Connector definitions** The first issue is that the `Power.Connectors.Inlet` and `Outlet` connectors on mml3-main are not balanced, because they have a flow variable but no associated effort variable...