Skip to content

Commit

Permalink
Update 'docs' folder with issue1451-add-pvt-model and delete old bran…
Browse files Browse the repository at this point in the history
…ches.
  • Loading branch information
DaJansenGit committed Dec 16, 2024
1 parent 5340f05 commit 9b9a861
Show file tree
Hide file tree
Showing 4 changed files with 548 additions and 619 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@

Error in model: AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Examples.BaseClasses.PartialExample
Check of <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Examples.BaseClasses.PartialExample">AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Examples.BaseClasses.PartialExample</a>
Error: The problem is structurally singular.

It has 181 scalar unknowns and 181 scalar equations.
The Real part has 181 unknowns and 181 equations.
The Integer part has 0 unknowns and 0 equations.
The Boolean part has 0 unknowns and 0 equations.
The String part has 0 unknowns and 0 equations.
The model could not be deduced to be symbolically well-posed.
The model has
181
scalar unknowns and
171+(if sou.use_Xi_in then 1 else (if sou.use_X_in then 0 else 1))+(if not sou.use_m_flow_in then 1 else 0)+2*sou.nPorts+(if not sou.use_T_in then 1 else 0)+(if sin.use_Xi_in then 1 else (if sin.use_X_in then 0 else 1))+(if not sin.use_p_in then 1 else 0)+2*sin.nPorts+(if not sin.use_T_in then 1 else 0)+(if weaDat.pAtmSou == AixLib.BoundaryConditions.Types.DataSource. Parameter then 1 else 0)+(if weaDat.TDewPoiSou == AixLib.BoundaryConditions.Types.DataSource. Parameter then 1 else 0)+(if weaDat.TDryBulSou == AixLib.BoundaryConditions.Types.DataSource. Parameter then 1 else 0)+(if weaDat.TBlaSkySou == AixLib.BoundaryConditions.Types.DataSource. Parameter then 1 else 0)+(if weaDat.relHumSou == AixLib.BoundaryConditions.Types.DataSource. Parameter then 1 else 0)+(if weaDat.opaSkyCovSou == AixLib.BoundaryConditions.Types.DataSource. Parameter then 1 else 0)+(if weaDat.ceiHeiSou == AixLib.BoundaryConditions.Types.DataSource. Parameter then 1 else 0)+(if weaDat.totSkyCovSou == AixLib.BoundaryConditions.Types.DataSource. Parameter then 1 else 0)+(if weaDat.winSpeSou == AixLib.BoundaryConditions.Types.DataSource. Parameter then 1 else 0)+(if weaDat.winDirSou == AixLib.BoundaryConditions.Types.DataSource. Parameter then 1 else 0)+(if weaDat.HInfHorSou == AixLib.BoundaryConditions.Types.DataSource. Parameter then 1 else 0)+(if weaDat.HSou == AixLib.BoundaryConditions.Types.RadiationDataSource. Input_HDirNor_HDifHor then 2 else 1)+(if weaDat.HSou == AixLib.BoundaryConditions.Types.RadiationDataSource. Input_HDirNor_HGloHor then 2 else 1)+(if weaDat.HSou == AixLib.BoundaryConditions.Types.RadiationDataSource. Input_HGloHor_HDifHor then 2 else 1)
scalar equations.
However, exploiting the given numerical settings of parameters gives the same number of unknowns and equations:
181
Attempting to further localize singularity.

The model could not be deduced to be symbolically well-posed.
The model has
5
scalar unknowns and
2+(if sou.use_Xi_in then 1 else (if sou.use_X_in then 0 else 1))+(if not sou.use_m_flow_in then 1 else 0)+2*sou.nPorts+(if not sou.use_T_in then 1 else 0)
scalar equations.
However, exploiting the given numerical settings of parameters gives the same number of unknowns and equations:
5
Attempting to further localize singularity.

Singularity of <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Examples.BaseClasses.PartialExample">AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Examples.BaseClasses.PartialExample</a> is in the component <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Examples.BaseClasses.PartialExample#diagram:sou">sou</a>, class <a href="Modelica://AixLib.Fluid.Sources.MassFlowSource_T">AixLib.Fluid.Sources.MassFlowSource_T</a>.
Error: The model <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Examples.BaseClasses.PartialExample">AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Examples.BaseClasses.PartialExample</a> component <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Examples.BaseClasses.PartialExample#diagram:sou">sou</a> is structurally singular.
Warning: Some connectors are not connected from the outside:
<a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Examples.BaseClasses.PartialExample#diagram$sou:ports">sou.ports</a>
Warning: The problem is structurally singular for the element type Real.

The number of scalar Real unknown elements are 5.
The number of scalar Real equation elements are 5.
Some connector variables are removed from the continued error diagnosis,
since they are not used in the model.
Connector variables that are removed:
<a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Examples.BaseClasses.PartialExample#diagram$sou:p_in_internal">sou.p_in_internal</a>
Warning: Part of the problem for Real elements is overdetermined.
There are 1 scalar equations too many in the set:
<a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Examples.BaseClasses.PartialExample#text$sou:42">sou.m_flow_in_internal = sou.m_flow;</a>
which was derived from
if ( not sou.use_m_flow_in) then
sou.m_flow_in_internal = sou.m_flow;
end if;
<a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Examples.BaseClasses.PartialExample#text$sou:47">0.0 = sou.m_flow_in_internal;</a>
which was derived from
sum(sou.ports.m_flow) = -sou.m_flow_in_internal;
Warning: WARNINGS have been issued.
Error: ERRORS have been issued.


Error in model: AixLib.Fluid.BoilerCHP.Examples.CHPSystem
Check of <a href="Modelica://AixLib.Fluid.BoilerCHP.Examples.CHPSystem">AixLib.Fluid.BoilerCHP.Examples.CHPSystem</a>
Error: Overriding final modifier for energyDynamics
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/BoilerCHP/BaseClasses/PartialHeatGenerator.mo, line <a href="Modelica://AixLib.Fluid.BoilerCHP.BaseClasses.PartialHeatGenerator.vol#text:3">96</a>
Overriding found at:
Component context: AixLib.Fluid.BoilerCHP.Examples.CHPSystem.combinedHeatPower.vol.energyDynamics
Component declared as AixLib.Fluid.BoilerCHP.CHP combinedHeatPower in <a href="Modelica://AixLib.Fluid.BoilerCHP.Examples.CHPSystem">AixLib.Fluid.BoilerCHP.Examples.CHPSystem</a>
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/BoilerCHP/Examples/CHPSystem.mo, line <a href="Modelica://AixLib.Fluid.BoilerCHP.Examples.CHPSystem.combinedHeatPower.vol#text">14</a>
Set Advanced.Translation.Log.FinalStartModifierError = false to disregard these errors
The model has the same number of unknowns and equations: 367
The model could not be deduced to be symbolically well-posed.
The model has
361+combinedHeatPower.vol.dynBal.nPorts+size(combinedHeatPower.combiTable1Ds.columns, 1)
scalar unknowns and
347+size(combinedHeatPower.combiTable1Ds.columns, 1)+2*source.nPorts+(if not source.use_m_flow_in then 1 else 0)+(if not source.use_T_in then 1 else 0)+( if not source.use_X_in then 1 else 0)+2*sink.nPorts+(if not sink.use_p_in then 1 else 0)+(if not sink.use_T_in then 1 else 0)+(if not sink.use_X_in then 1 else 0)+(if not combinedHeatPower.vol.dynBal.use_mWat_flow then 1 else 0)+3*combinedHeatPower.vol.dynBal.nPorts
scalar equations.
However, exploiting the given numerical settings of parameters gives the same number of unknowns and equations:
367
Error: ERRORS have been issued.


Error in model: AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves
Check of <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves">AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves</a>
Component type specifier BaseProperties is a partial type
It must be redeclared before being used.
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/Interfaces/ConservationEquation.mo, line <a href="Modelica://AixLib.Fluid.Interfaces.ConservationEquation#text:80">81</a>
Component context: vol.dynBal.medium
Component declared as BaseProperties medium in <a href="Modelica://Modelica.Media.Interfaces.PartialMedium">Modelica.Media.Interfaces.PartialMedium</a>
Component type specifier PhotovoltaicThermalBaseDataDefinition is a partial type
It must be redeclared before being used.
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/PhotovoltaicThermal/EN12975Curves.mo, line <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves#text:20">21</a>
Component context: perPVT
Component declared as PhotovoltaicThermalBaseDataDefinition perPVT in <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Data">AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Data</a>
In value attribute for solGai.TMedMax.
Modifier applied in class <a href="Modelica://AixLib.Fluid.SolarCollectors.BaseClasses.EN12975SolarGain">AixLib.Fluid.SolarCollectors.BaseClasses.EN12975SolarGain</a>.
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo, line <a href="Modelica://AixLib.Fluid.SolarCollectors.BaseClasses.EN12975SolarGain#text">2</a>
Modifier applied for component <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves#$solGai:TMedMax">solGai.TMedMax</a>.
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo, line 53
Variable found in class <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves">AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves</a>.
Near file: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/PhotovoltaicThermal/EN12975Curves.mo, line 2
Variable found in component <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves#:solGai">solGai</a>.
Near file: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/EN12975.mo, line 6
Error: Use of undeclared variable: <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves#text$solGai:Medium.T_max">Medium.T_max</a>
In class <a href="Modelica://AixLib.Fluid.SolarCollectors.BaseClasses.EN12975SolarGain">AixLib.Fluid.SolarCollectors.BaseClasses.EN12975SolarGain</a>.
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo, line <a href="Modelica://AixLib.Fluid.SolarCollectors.BaseClasses.EN12975SolarGain#text">2</a>
Used in component <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves#$solGai:TMedMax">solGai.TMedMax</a>.
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo, line 53
In value attribute for heaLos.TMedMin.
Modifier applied in class <a href="Modelica://AixLib.Fluid.SolarCollectors.BaseClasses.PartialHeatLoss">AixLib.Fluid.SolarCollectors.BaseClasses.PartialHeatLoss</a>.
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/BaseClasses/EN12975HeatLoss.mo, line <a href="Modelica://AixLib.Fluid.SolarCollectors.BaseClasses.PartialHeatLoss#text:2">3</a>
Modifier applied for component <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves#$heaLos:TMedMin">heaLos.TMedMin</a>.
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/BaseClasses/PartialHeatLoss.mo, line 33
Variable found in class <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves">AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves</a>.
Near file: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/PhotovoltaicThermal/EN12975Curves.mo, line 2
Variable found in base-class heaLos.PartialHeatLoss.
Near file: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/BaseClasses/EN12975HeatLoss.mo, line 3
Error: Use of undeclared variable: <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves#text$heaLos:Medium.T_min">Medium.T_min</a>
In class <a href="Modelica://AixLib.Fluid.SolarCollectors.BaseClasses.PartialHeatLoss">AixLib.Fluid.SolarCollectors.BaseClasses.PartialHeatLoss</a>.
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/BaseClasses/EN12975HeatLoss.mo, line <a href="Modelica://AixLib.Fluid.SolarCollectors.BaseClasses.PartialHeatLoss#text:2">3</a>
Used in component <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves#$heaLos:TMedMin">heaLos.TMedMin</a>.
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/BaseClasses/PartialHeatLoss.mo, line 33
In value attribute for eleGai.TMedMax.
Modifier applied in class <a href="Modelica://AixLib.Fluid.SolarCollectors.BaseClasses.EN12975SolarGain">AixLib.Fluid.SolarCollectors.BaseClasses.EN12975SolarGain</a>.
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo, line <a href="Modelica://AixLib.Fluid.SolarCollectors.BaseClasses.EN12975SolarGain#text">2</a>
Modifier applied for component <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves#$eleGai:TMedMax">eleGai.TMedMax</a>.
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo, line 53
Variable found in class <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves">AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves</a>.
Near file: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/PhotovoltaicThermal/EN12975Curves.mo, line 2
Variable found in component <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves#:eleGai">eleGai</a>.
Near file: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/PhotovoltaicThermal/EN12975Curves.mo, line 25
Error: Use of undeclared variable: <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves#text$eleGai:Medium.T_max">Medium.T_max</a>
In class <a href="Modelica://AixLib.Fluid.SolarCollectors.BaseClasses.EN12975SolarGain">AixLib.Fluid.SolarCollectors.BaseClasses.EN12975SolarGain</a>.
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo, line <a href="Modelica://AixLib.Fluid.SolarCollectors.BaseClasses.EN12975SolarGain#text">2</a>
Used in component <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves#$eleGai:TMedMax">eleGai.TMedMax</a>.
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo, line 53
In value attribute for eleLos.TMedMin.
Modifier applied in class <a href="Modelica://AixLib.Fluid.SolarCollectors.BaseClasses.PartialHeatLoss">AixLib.Fluid.SolarCollectors.BaseClasses.PartialHeatLoss</a>.
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/BaseClasses/EN12975HeatLoss.mo, line <a href="Modelica://AixLib.Fluid.SolarCollectors.BaseClasses.PartialHeatLoss#text:2">3</a>
Modifier applied for component <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves#$eleLos:TMedMin">eleLos.TMedMin</a>.
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/BaseClasses/PartialHeatLoss.mo, line 33
Variable found in class <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves">AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves</a>.
Near file: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/PhotovoltaicThermal/EN12975Curves.mo, line 2
Variable found in base-class eleLos.PartialHeatLoss.
Near file: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/BaseClasses/EN12975HeatLoss.mo, line 3
Error: Use of undeclared variable: <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves#text$eleLos:Medium.T_min">Medium.T_min</a>
In class <a href="Modelica://AixLib.Fluid.SolarCollectors.BaseClasses.PartialHeatLoss">AixLib.Fluid.SolarCollectors.BaseClasses.PartialHeatLoss</a>.
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/BaseClasses/EN12975HeatLoss.mo, line <a href="Modelica://AixLib.Fluid.SolarCollectors.BaseClasses.PartialHeatLoss#text:2">3</a>
Used in component <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.EN12975Curves#$eleLos:TMedMin">eleLos.TMedMin</a>.
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/BaseClasses/PartialHeatLoss.mo, line 33
The model contained invalid expressions.
Check aborted.
Error: ERRORS have been issued.


Error in model: AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Data.Unglazed
Check of <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Data.Unglazed">AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Data.Unglazed</a>
Error: Class or component 'eta' not found in PhotovoltaicThermalBaseDataDefinition
File: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/PhotovoltaicThermal/Data/Unglazed.mo, line <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Data.PhotovoltaicThermalBaseDataDefinition#text:2">3</a>
Context: <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Data.PhotovoltaicThermalBaseDataDefinition">AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Data.PhotovoltaicThermalBaseDataDefinition</a>
Attempted modification in <a href="Modelica://AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Data.Unglazed">AixLib.Fluid.SolarCollectors.PhotovoltaicThermal.Data.Unglazed</a>.
Near file: /builds/EBC/EBC_all/github_ci/AixLib/AixLib/Fluid/SolarCollectors/PhotovoltaicThermal/Data/Unglazed.mo, line 2
Error: ERRORS have been issued.

Loading

0 comments on commit 9b9a861

Please sign in to comment.