Skip to content

Error message in fluid samples #7

@koart81

Description

@koart81

Error message appears in fluid samples with the component ScalableTranslationStatistics.Fluid.Model.ScaleTranslationStatistics before simulation: e.g. for the model attached ScalableTranslationStatistics.Fluid.Examples.ScaledNLEquations.NLEquations_5red.zip:

Error in NLEquations_5 (ScalableTranslationStatistics.Fluid.Examples.ScaledNLEquations.NLEquations_5red.mo): Equation system singular (13 variables for 12 equations).
Help: Check.Singular

The structure of the equation system is singular.
Variables: 13
Equations: 12

	Variables		Equations

Real: 13 12 Equations are missing.
Integer: 0 0
Boolean: 0 0
String: 0 0
Variables Equations
continuous-time: 13 12
discrete-time: 0 0
The structure of the equation system is singular.

0: scalableModelicaModel.volume.fluidPortIn.m_flow[2]
1: scalableModelicaModel.simplePressureLossTube.fluidPortOut.m_flow[2]
2: scalableModelicaModel.simplePressureLossTube.fluidPortIn.m_flow[1]
3: scalableModelicaModel.nonlinearTubePumpNetwork.fluidPortOut.m_flow[1]
4: scalableModelicaModel.volume.p[1]
5: scalableModelicaModel.volume.p[2]
6: scalableModelicaModel.volume.p[3]
7: scalableModelicaModel.nonlinearTubePumpNetwork.analytic_pump.fluidPortOut.p[1]
8: scalableModelicaModel.simplePressureLossTube.delta_p[1]
9: scalableModelicaModel.simplePressureLossTube.delta_p[2]
10: der(scalableModelicaModel.volume.m[1])
11: der(scalableModelicaModel.volume.m[2])
12: der(scalableModelicaModel.volume.m[3])

12 Equations [,,,,,]:
0 [1, 0, 0, 0, 1, 0]:
scalableModelicaModel.simplePressureLossTube.fluidPortIn.m_flow[1]=-der(scalableModelicaModel.volume.m[1]);
1 [1, 0, 0, 0, 1, 0]:
scalableModelicaModel.simplePressureLossTube.fluidPortOut.m_flow[2]=-der(scalableModelicaModel.volume.m[3]);
2 [1, 0, 0, 0, 1, 0]: scalableModelicaModel.volume.p[1]=scalableModelicaModel.nonlinearTubePumpNetwork.analytic_pump.fluidPortOut.p[1]+-scalableModelicaModel.nonlinearTubePumpNetwork.analytic_pump.delta_p[1];
3 [1, 0, 0, 0, 1, 0]: scalableModelicaModel.volume.p[1]=scalableModelicaModel.volume.p[2]+scalableModelicaModel.simplePressureLossTube.delta_p[1];
4 [1, 0, 0, 0, 1, 0]: scalableModelicaModel.volume.p[2]=scalableModelicaModel.volume.p[3]+scalableModelicaModel.simplePressureLossTube.delta_p[2];
5 [1, 0, 0, 0, 1, 0]:
der(scalableModelicaModel.volume.m[1])=-scalableModelicaModel.simplePressureLossTube.delta_p[1]* scalableModelicaModel.simplePressureLossTube.delta_p_nom[1]^-1* scalableModelicaModel.simplePressureLossTube.mdot_nom[1];
6 [1, 0, 0, 0, 1, 0]:
der(scalableModelicaModel.volume.m[3])=scalableModelicaModel.simplePressureLossTube.delta_p[2]* scalableModelicaModel.simplePressureLossTube.delta_p_nom[2]^-1* scalableModelicaModel.simplePressureLossTube.mdot_nom[2];
7 [1, 0, 0, 0, 1, 0]:
der(scalableModelicaModel.volume.m[2])=scalableModelicaModel.volume.fluidPortIn.m_flow[2]+-der(scalableModelicaModel.volume.m[3]);
8 [1, 0, 0, 0, 1, 0]:
scalableModelicaModel.volume.p[1]* scalableModelicaModel.volume.V[1]=8.3144626181532395scalableModelicaModel.volume.M[1]^-1 scalableModelicaModel.volume.T[1]* scalableModelicaModel.volume.m[1];
9 [1, 0, 0, 0, 1, 0]:
scalableModelicaModel.volume.p[2]* scalableModelicaModel.volume.V[2]=8.3144626181532395scalableModelicaModel.volume.M[2]^-1 scalableModelicaModel.volume.T[2]* scalableModelicaModel.volume.m[2];
10 [1, 0, 0, 0, 1, 0]:
scalableModelicaModel.volume.p[3]* scalableModelicaModel.volume.V[3]=8.3144626181532395scalableModelicaModel.volume.M[3]^-1 scalableModelicaModel.volume.T[3]* scalableModelicaModel.volume.m[3];
11 [1, 0, 0, 0, 1, 0]: 0=scalableModelicaModel.volume.fluidPortIn.m_flow[2]+scalableModelicaModel.nonlinearTubePumpNetwork.fluidPortOut.m_flow[1]+der(scalableModelicaModel.volume.m[1]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions