Skip to content

Commit

Permalink
Restructure base classes #1575
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraMaier committed Jun 14, 2022
1 parent 25c9682 commit c8df97d
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 9 deletions.
5 changes: 0 additions & 5 deletions IBPSA/Electrical/BaseClasses/BaseClasses/package.mo

This file was deleted.

20 changes: 20 additions & 0 deletions IBPSA/Electrical/BaseClasses/PVSystems/BaseClasses.mo
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
within IBPSA.Electrical.BaseClasses.PVSystems;
package BaseClasses "Base parameters for PV Model"
extends Modelica.Icons.BasesPackage;

partial model PartialPVElectrical
"Partial electrical model for PV module model"
annotation (Icon(coordinateSystem(preserveAspectRatio=false)), Diagram(
coordinateSystem(preserveAspectRatio=false)));
end PartialPVElectrical;

partial model PartialPVThermal
annotation (Icon(coordinateSystem(preserveAspectRatio=false)), Diagram(
coordinateSystem(preserveAspectRatio=false)));
end PartialPVThermal;

partial model PartialPVOptical
annotation (Icon(coordinateSystem(preserveAspectRatio=false)), Diagram(
coordinateSystem(preserveAspectRatio=false)));
end PartialPVOptical;
end BaseClasses;
6 changes: 3 additions & 3 deletions IBPSA/Electrical/BaseClasses/PVSystems/PVSimple.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ within IBPSA.Electrical.BaseClasses.PVSystems;
model PVSimple "Simple PV model with internal or external MPP tracking"

replaceable model ElectricalModel =
IBPSA.Electrical.BaseClasses.BaseClasses.PartialPVElectrical
IBPSA.Electrical.BaseClasses.PVSystems.BaseClasses.PartialPVElectrical
"Model with electrical characteristics";

replaceable model ThermalModel =
IBPSA.Electrical.BaseClasses.BaseClasses.PartialPVThermal
IBPSA.Electrical.BaseClasses.PVSystems.BaseClasses.PartialPVThermal
"Model with thermal characteristics";

replaceable model OpticalModel =
IBPSA.Electrical.BaseClasses.BaseClasses.PartialPVOptical
IBPSA.Electrical.BaseClasses.PVSystems.BaseClasses.PartialPVOptical
"Model with optical characteristics"
annotation (Icon(coordinateSystem(preserveAspectRatio=false)), Diagram(
coordinateSystem(preserveAspectRatio=false)));
Expand Down
1 change: 1 addition & 0 deletions IBPSA/Electrical/BaseClasses/PVSystems/package.order
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
PVSimple
BaseClasses
1 change: 0 additions & 1 deletion IBPSA/Electrical/BaseClasses/package.order
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
BaseClasses
PVSystems

0 comments on commit c8df97d

Please sign in to comment.