As a developer I want to unify the way .ddck files are connected to each other via the hydraulic. We currently/will soon have the possibility to access, e.g., the input mass flow rate through a port of a given component with the following syntax in a .ddck file (see https://github.com/SPF-OST/pytrnsys_gui/issues/233)
MfrCondIn = @mfr(condensorInput, MfrPiHpCondIn)
The black box component temperatures are currently read out from a .ddck file by looking at a block like
***********************************
** outputs to hydraulic solver
***********************************
EQUATIONS 2
THpEvapOut = [162,1] !
THpCondOut = [162,3] ! Temperature of the condenser (heat sink) outlet
in the ddck file (we're searching for the string "outputs to hydraulic"). In order to be consistent we should change this to
@temp(evaporatorOutput) = ...
where the right hand side could either be THpEvapOut, if needed, which would be defined further above or [162,1], directly (i.e. both ways should be supported).
@martin-neugebauer : We'll need to think a bit more about whether this should/can be in pytrnsys or pytrnsys-gui and/or what pytrnsys should do in the default case...
As a developer I want to unify the way .ddck files are connected to each other via the hydraulic. We currently/will soon have the possibility to access, e.g., the input mass flow rate through a port of a given component with the following syntax in a .ddck file (see https://github.com/SPF-OST/pytrnsys_gui/issues/233)
The black box component temperatures are currently read out from a .ddck file by looking at a block like
in the ddck file (we're searching for the string "outputs to hydraulic"). In order to be consistent we should change this to
where the right hand side could either be
THpEvapOut
, if needed, which would be defined further above or[162,1]
, directly (i.e. both ways should be supported).