-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial version of PV model structure #1575
- Loading branch information
1 parent
36c2bd1
commit 929f0b7
Showing
13 changed files
with
75 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
IBPSA/Electrical/BaseClasses/BaseClasses/PartialPVElectrical.mo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
within IBPSA.Electrical.BaseClasses.BaseClasses; | ||
partial model PartialPVElectrical | ||
"Partial electrical model for PV module model" | ||
annotation (Icon(coordinateSystem(preserveAspectRatio=false)), Diagram( | ||
coordinateSystem(preserveAspectRatio=false))); | ||
end PartialPVElectrical; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
within IBPSA.Electrical.BaseClasses.BaseClasses; | ||
partial model PartialPVOptical | ||
annotation (Icon(coordinateSystem(preserveAspectRatio=false)), Diagram( | ||
coordinateSystem(preserveAspectRatio=false))); | ||
end PartialPVOptical; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
within IBPSA.Electrical.BaseClasses.BaseClasses; | ||
partial model PartialPVThermal | ||
annotation (Icon(coordinateSystem(preserveAspectRatio=false)), Diagram( | ||
coordinateSystem(preserveAspectRatio=false))); | ||
end PartialPVThermal; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
within IBPSA.Electrical.BaseClasses; | ||
package BaseClasses "Base parameters for PV Model" | ||
extends Modelica.Icons.BasesPackage; | ||
|
||
end BaseClasses; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
PartialPVElectrical | ||
PartialPVThermal | ||
PartialPVOptical |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
within IBPSA.Electrical.BaseClasses; | ||
model PVSimple | ||
"Simple PV model with internal or external MPP tracking" | ||
|
||
replaceable model ElectricalModel = | ||
IBPSA.Electrical.BaseClasses.BaseClasses.PartialPVElectrical | ||
"Model with electrical characteristics"; | ||
|
||
replaceable model ThermalModel = | ||
IBPSA.Electrical.BaseClasses.BaseClasses.PartialPVThermal | ||
"Model with thermal characteristics"; | ||
|
||
replaceable model OpticalModel = | ||
IBPSA.Electrical.BaseClasses.BaseClasses.PartialPVOptical | ||
"Model with optical characteristics" | ||
annotation (Icon(coordinateSystem(preserveAspectRatio=false)), Diagram( | ||
coordinateSystem(preserveAspectRatio=false))); | ||
|
||
replaceable parameter IBPSA.Electrical.DataBase.PVSimpleBaseDataDefinition data | ||
constrainedby AixLib.DataBase.SolarElectric.PVBaseDataDefinition | ||
"PV Panel data definition" | ||
annotation (choicesAllMatching); | ||
|
||
end PVSimple; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
within IBPSA.Electrical; | ||
package BaseClasses "Package with base classes for IBPSA.Electrical" | ||
extends Modelica.Icons.BasesPackage; | ||
|
||
end BaseClasses; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
PVSimple | ||
BaseClasses |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
within IBPSA.Electrical.DataBase; | ||
record PVSimpleBaseDataDefinition "Basic record of a PV Simple model" | ||
extends Modelica.Icons.Record; | ||
annotation (Icon(coordinateSystem(preserveAspectRatio=false)), Diagram( | ||
coordinateSystem(preserveAspectRatio=false))); | ||
end PVSimpleBaseDataDefinition; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
within IBPSA.Electrical; | ||
package DataBase "Data base for electrical package" | ||
end DataBase; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
PVSimpleBaseDataDefinition |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
within IBPSA; | ||
package Electrical "Package with models for electrical systems and components" | ||
extends Modelica.Icons.Package; | ||
|
||
annotation (Icon(graphics={Line(points={{6,82},{-60,0},{12,0},{-24,-62},{-36, | ||
-56},{-28,-90},{2,-76},{-8,-70},{52,20},{52,20},{-14,20},{40,82},{6, | ||
82}}, color={0,0,0})})); | ||
end Electrical; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
DataBase | ||
BaseClasses |