Skip to content

Commit

Permalink
rename new modelica models to clarify MBL version
Browse files Browse the repository at this point in the history
  • Loading branch information
vtnate committed Jan 22, 2024
1 parent a434ed7 commit 8802791
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions geojson_modelica_translator/model_connectors/plants/chp.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ def __init__(self, system_parameters):
self.id = 'heaPla' + simple_uuid()

self.required_mo_files.append(Path(self.template_dir) / 'Boiler_TParallel.mo')
self.required_mo_files.append(Path(self.template_dir) / 'Boiler_TParallel_new.mo')
self.required_mo_files.append(Path(self.template_dir) / 'Boiler_TParallel_v10.mo')
self.required_mo_files.append(Path(self.template_dir) / 'BoilerStage.mo')
self.required_mo_files.append(Path(self.template_dir) / 'HeatingWaterPumpSpeed.mo')
self.required_mo_files.append(Path(self.template_dir) / 'PartialPlantParallel.mo')
self.required_mo_files.append(Path(self.template_dir) / 'PartialPlantParallel_v1new.mo')
self.required_mo_files.append(Path(self.template_dir) / 'PartialPlantParallel_v10.mo')
self.required_mo_files.append(Path(self.template_dir) / 'PartialPlantParallelInterface.mo')
self.required_mo_files.append(Path(self.template_dir) / 'ValveParameters.mo')

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
within district_heating_and_cooling_systems.Plants;
model Boiler_TParallel_new
model Boiler_TParallel_v10
"Multiple identical boiler"
extends PartialPlantParallel_v1new(
extends PartialPlantParallel_v10(
num=numBoi,
redeclare Buildings.Fluid.Boilers.BoilerPolynomial boi(
each Q_flow_nominal=Q_flow_nominal,
Expand Down Expand Up @@ -113,4 +113,4 @@ equation
Rectangle(
extent={{-54,54},{54,-54}},
lineColor={102,44,145})}));
end Boiler_TParallel_new;
end Boiler_TParallel_v10;
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ model CentralHeatingPlant
final unit="Pa")
"Measured pressure difference"
annotation (Placement(transformation(extent={{-160,-40},{-140,-20}}),iconTransformation(extent={{-140,-50},{-100,-10}})));
Boiler_TParallel_new boiHotWat(
Boiler_TParallel_v10 boiHotWat(
redeclare package Medium=Medium,
m_flow_nominal=mBoi_flow_nominal,
Q_flow_nominal=QBoi_flow_nominal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ within {{ project_name }}.Plants;
final unit="Pa")
"Measured pressure difference"
annotation (Placement(transformation(extent={{-160,-40},{-140,-20}}),iconTransformation(extent={{-140,-50},{-100,-10}})));
Boiler_TParallel_new boiHotWat(
Boiler_TParallel_v10 boiHotWat(
redeclare package Medium=Medium,
m_flow_nominal=mBoi_flow_nominal,
Q_flow_nominal=QBoi_flow_nominal,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
within district_heating_and_cooling_systems.Plants;
partial model PartialPlantParallel_v1new
partial model PartialPlantParallel_v10
"Partial source plant model with associated valves"
extends PartialPlantParallelInterface;
extends ValveParameters(
Expand Down Expand Up @@ -75,4 +75,4 @@ First implementation.
</li>
</ul>
</html>"));
end PartialPlantParallel_v1new;
end PartialPlantParallel_v10;
2 changes: 1 addition & 1 deletion geojson_modelica_translator/modelica/lib/runner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cd geojson_modelica_translator/modelica/lib/runner
docker build -t nrel/gmt-om-runner:latest .
```

The default tag will be `nrel/gmt-om-runner:v2.0.0`, which is the default version used in the modelica_runner.py file.
The default tag will be `nrel/gmt-om-runner:v2.0.1`, which is the default version used in the modelica_runner.py file.

### Versioning

Expand Down

0 comments on commit 8802791

Please sign in to comment.