-
Notifications
You must be signed in to change notification settings - Fork 1
MML 4 Beta preparation #537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Nabil YOUSSEF <nabil.youssef@metroscope.tech>
Signed-off-by: Nabil YOUSSEF <nabil.youssef@metroscope.tech>
Signed-off-by: Nabil YOUSSEF <nabil.youssef@metroscope.tech>
Signed-off-by: Nabil YOUSSEF <nabil.youssef@metroscope.tech>
Signed-off-by: Pierre-Elie Personnaz <pierre-elie.personnaz@metroscope.tech>
Signed-off-by: Pierre-Elie Personnaz <pierre-elie.personnaz@metroscope.tech>
Signed-off-by: Pierre-Elie Personnaz <pierre-elie.personnaz@metroscope.tech>
Signed-off-by: Pierre-Elie Personnaz <pierre-elie.personnaz@metroscope.tech>
Signed-off-by: Pierre-Elie Personnaz <pierre-elie.personnaz@metroscope.tech>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merci ! Deux remarques principales :
- Il y a peut être un truc qui m'échappe mais je comprends pas pourquoi on a besoin de définir des paramètres
_constant
? Tel qu'ils sont utilisés, ce sont des variables d'initalisation mais on n'en a pas besoin por les paramètres - Il reste des composants à adapter comme l'ACC, je vais faire la liste
- Idéalement il faudrait qu'on ai un modèle direct aussi de Metroscopia
- Et il faudra adapter tous les tests
Bref pas mal de boulot qui doit mobiliser toute l'équipe !
parameter Real tau_constant = 15; | ||
parameter Real eta_is_constant = 0.8; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pourquoi on a ces paramètres ? Ils ne sont pas utilisés ensuite
@@ -12,9 +12,9 @@ model GasTurbine | |||
import MetroscopeModelingLibrary.Utilities.Units; | |||
import MetroscopeModelingLibrary.Utilities.Units.Inputs; | |||
|
|||
parameter Units.Yield eta_is_constant = 0.8; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idem pourquoi ce paramètre ?
parameter Units.Yield eta_is_constant = 0.8; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A supprimer
@@ -26,6 +26,13 @@ model GasTurbine | |||
Units.Percentage eta_is_decrease(min = 0, max=100) "percentage decrease of eta_is"; | |||
|
|||
Power.Connectors.Outlet C_W_shaft annotation (Placement(transformation(extent={{90,90},{110,110}}), iconTransformation(extent={{90,90},{110,110}}))); | |||
Utilities.Interfaces.GenericReal eta_is(start=eta_is_constant) annotation (Placement(transformation( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On a un besoin d'initialiser les eta is ? ça me semble pas utile
@@ -5,7 +5,7 @@ partial model ControlValve | |||
import MetroscopeModelingLibrary.Utilities.Units.Inputs; | |||
import MetroscopeModelingLibrary.Utilities.Constants; | |||
|
|||
Inputs.InputCv Cv_max(start=1e4) "Maximum CV"; | |||
parameter Units.Cv Cv_max_constant = 1e4 "Maximum CV"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idem pourquoi le constant ?
parameter Boolean faulty = false; | ||
Units.Percentage fouling; // Fouling coefficient | ||
|
||
parameter Units.Height delta_z_constant = 10; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
constant ?
|
||
parameter Boolean faulty = false; | ||
Units.Percentage closed_valve; // Valve not fully opened | ||
|
||
parameter Real Cv_constant = 1e4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idem
equation | ||
T_source_air = 24 + time*10; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
à supprimer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bien de garder cette version dans la librairie
parameter Units.FrictionCoefficient Kfr_constant = 0; | ||
parameter Real eta_constant=0.99457; // The value given is found in performance document of GE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Supprimer les paramètres constants
@@ -5,7 +5,7 @@ partial model ControlValve | |||
import MetroscopeModelingLibrary.Utilities.Units.Inputs; | |||
import MetroscopeModelingLibrary.Utilities.Constants; | |||
|
|||
Inputs.InputCv Cv_max(start=1e4) "Maximum CV"; | |||
parameter Units.Cv Cv_max_constant = 1e4 "Maximum CV"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
à supprimer
|
||
parameter Boolean faulty = false; | ||
Units.Percentage closed_valve; // Valve not fully opened | ||
|
||
parameter Real Cv_constant = 1e4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
à supprimer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
à voir si on garde ce test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nabily-met @edwing-met vous savez pourquoi on a cette fonction ?
* ACC in MML4 * ACC in MML4
* commit * enlever inutile * chromatograph * remove fuel source test
* adapted reactor and LiqLiqHX for mml4 * also added british units to the units choices of control sensors * Update MetroscopeModelingLibrary/WaterSteam/HeatExchangers/LiqLiqHX.mo Co-authored-by: Hadrien <113358529+hadrienp-met@users.noreply.github.com> * Update MetroscopeModelingLibrary/WaterSteam/HeatExchangers/LiqLiqHX.mo Co-authored-by: Hadrien <113358529+hadrienp-met@users.noreply.github.com> --------- Co-authored-by: Hadrien <113358529+hadrienp-met@users.noreply.github.com>
* commit * enlever inutile * chromatograph * remove fuel source test * Add BC, input for calibration and observables * Correct connector size --------- Co-authored-by: eguez <edwin.guez@metroscope.tech> Co-authored-by: edwing-met <132678195+edwing-met@users.noreply.github.com>
Goal
PR adding connectors to most CCGT and NPP components
A lot of parameters have also been given a default value inside the component so there is no need to attribute it in the model
Type of change
package.mo
)Will it break anything in previous models ?
Checklist
You can also fill these out after creating the PR, but make sure to check them all before submitting your PR for review.