Skip to content

Commit

Permalink
Modify html code and delete Icon package #1575
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraMaier committed Dec 14, 2023
1 parent ac01ba0 commit 449a93d
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 44 deletions.
19 changes: 0 additions & 19 deletions IBPSA/Electrical/BaseClasses/PV/BaseClasses/Icons/package.mo

This file was deleted.

1 change: 0 additions & 1 deletion IBPSA/Electrical/BaseClasses/PV/BaseClasses/package.order
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ PartialPVOptical
PartialPVThermal
PartialPVThermalEmp
lambertWSimple
Icons
PVOptical
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ Model for determining the cell temperature of a PV module mounted on
an open rack under operating conditions and under consideration of
the wind velocity.
</p>
<p>
<br/>
</p>
<h4>References</h4>
<p>
<q>Solar engineering of thermal processes.</q> by Duffie, John A. ;
Expand Down
3 changes: 0 additions & 3 deletions IBPSA/Electrical/BaseClasses/PV/PVThermalEmpMountOpenRack.mo
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ equation
an open rack under operating conditions and under consideration of
the wind velocity.
</p>
<p>
<br/>
</p>
<h4>References</h4>
<p>
<q>Solar engineering of thermal processes.</q> by Duffie, John A. ;
Expand Down
56 changes: 54 additions & 2 deletions IBPSA/Electrical/BaseClasses/PV/PartialPVSystem.mo
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
within IBPSA.Electrical.BaseClasses.PV;
partial model PartialPVSystem "Base PV model with internal or external MPP tracking"
extends IBPSA.Electrical.BaseClasses.PV.BaseClasses.Icons.partialPVIcon;

replaceable package PhaseSystem =
IBPSA.Electrical.PhaseSystems.PartialPhaseSystem constrainedby
Expand Down Expand Up @@ -163,5 +162,58 @@ First implementation.
</ul>
</html>"),
Diagram(coordinateSystem(extent={{-100,-120},{100,120}})),
Icon(coordinateSystem(extent={{-100,-120},{100,120}})));
Icon(coordinateSystem(extent={{-100,-120},{100,120}}), graphics={
Rectangle(extent={{-100,100},{100,-100}},
lineColor={215,215,215},fillColor={215,215,215},
fillPattern = FillPattern.Solid),
Rectangle(extent={{-62,30},{-34,2}},lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{-30,30},{-2,2}},lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{2,30},{30,2}}, lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{-62,-2},{-34,-30}},lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{-30,-2},{-2,-30}},lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{2,-2},{30,-30}}, lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{-62,-34},{-34,-62}},lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{-30,62},{-2,34}},lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{2,62},{30,34}}, lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{-62,62},{-34,34}},lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{-30,-34},{-2,-62}},lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{2,-34},{30,-62}}, lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{-94,62},{-66,34}},lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{-94,30},{-66,2}}, lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{-94,-2},{-66,-30}},
lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{-94,-34},{-66,-62}},
lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{34,62},{62,34}}, lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{34,30},{62,2}}, lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{34,-2},{62,-30}}, lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{34,-34},{62,-62}},lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{66,-34},{94,-62}},lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{66,-2},{94,-30}}, lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{66,30},{94,2}}, lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid),
Rectangle(extent={{66,62},{94,34}}, lineColor={0,0,255},fillColor={0,0,255},
fillPattern = FillPattern.Solid)}));
end PartialPVSystem;
29 changes: 13 additions & 16 deletions IBPSA/Electrical/DC/Sources/PVSingleDiode.mo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
within IBPSA.Electrical.DC.Sources;
within IBPSA.Electrical.DC.Sources;
model PVSingleDiode
"Photovoltaic module model based on single diode approach"

Expand Down Expand Up @@ -59,26 +59,23 @@ equation
coordinateSystem(preserveAspectRatio=false)),
Documentation(info="<html>
<p>This is a photovoltaic generator model based on a single diode approach with replaceable thermal models accounting for different mountings.<br/>
The solar cell is approximated as a simplified diode circuit following the scheme illustrated in the following:<br/></p>
The solar cell is approximated as a simplified diode circuit following the scheme illustrated in the following:</p>
<p align=\"center\"><img src=\"modelica://IBPSA/Resources/Images/Electrical/DC/Sources/single_diode_scheme.png\" alt='Single Diode Scheme'> </p>
<p>In the figure, <i>I</i><sub>ph</sub> denotes the photocurrent and <i>I</i><sub>d</sub> is the dark current.<br/>
<i>I</i><sub>d</sub> is opposed to <i>I</i><sub>ph</sub><br/>
<i>I</i><sub>d</sub> derives from the Shockley equation </p>
<p>In the figure, <i>I</i><sub>ph</sub> denotes the photocurrent and <i>I</i><sub>d</sub> is the dark current.</p>
<p><i>I</i><sub>d</sub> is opposed to <i>I</i><sub>ph</sub></p>
<p><i>I</i><sub>d</sub> derives from the Shockley equation </p>
<p align=\"center\" style=\"font-style:italic;\">
<i>I</i><sub>d</sub> =
I<sub>s</sub>(e<sup>((U+IR<sub>s</sub>) &frasl; a)</sup>-1)</p>
<p> that bases on the saturation current <i>I</i><sub>s</sub>.<br/>
The Shockley equation uses the modified ideality factor </p>
<p>that bases on the saturation current <i>I</i><sub>s</sub>.</p>
<p>The Shockley equation uses the modified ideality factor </p>
<p align=\"center\" style=\"font-style:italic;\">a =(N<sub>s</sub> n<sub>I</sub> k T<sub>cell</sub> &frasl; q).</p>
<p>The modified ideality factor <i>a</i> results from<br/>
the number of serial cells <i>N</i><sub>s</sub>,<br/>
the ideality factor <i>n</i><sub>I</sub>,<br/>
the Boltzman constant k,<br/>
the elementary charge q,
<br/>and the cell temperature <i>T</i><sub>cell</sub>.
<i>R</i><sub>s</sub> is the serial resistance that results in a voltage loss.<br/>
The parallel resistance <i>R</i><sub>sh</sub> accounts for the leakage currents along the cell's side<br/>
and <i>I</i><sub>sh</sub> is the resulting leakage current.<br/>
<p>The modified ideality factor <i>a</i> results from the number of serial cells <i>N</i><sub>s</sub>,
the ideality factor <i>n</i><sub>I</sub>, the Boltzman constant k,
the elementary charge q,and the cell temperature <i>T</i><sub>cell</sub>.
<i>R</i><sub>s</sub> is the serial resistance that results in a voltage loss.</p>
<p>The parallel resistance <i>R</i><sub>sh</sub> accounts for the leakage currents along the cell's side
and <i>I</i><sub>sh</sub> is the resulting leakage current.
The result is the I-V-curve</p>
<p align=\"center\" style=\"font-style:italic;\">
<i>I</i> =
Expand Down

0 comments on commit 449a93d

Please sign in to comment.