Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ model FrequencySweepCurrentSource "Current source with integrated frequency swee
extends Interfaces.TwoPlug;
import Modelica.Constants.eps;
SI.Angle gamma(start=0) = plug_p.reference.gamma;
parameter Integer m=3 "Number of phases" annotation(Evaluate=true);
parameter SI.Frequency fStart(final min=eps, start=1) "Start sweep frequency";
parameter SI.Frequency fStop(final min=eps, start=1) "Stop sweep frequency";
parameter SI.Time startTime=0 "Start time of frequency sweep";
Expand All @@ -24,7 +23,7 @@ equation
connect(logFrequencySweep.y,currentSource. f) annotation (Line(points={{19,-50},{6,-50},{6,-12}}, color={0,0,127}));
connect(plug_p,currentSource. plug_p) annotation (Line(points={{-100,0},{-10,0}}, color={85,170,255}));
connect(currentSource.plug_n, plug_n) annotation (Line(points={{10,0},{100,0}}, color={85,170,255}));
connect(currentSource.I, const.y) annotation (Line(points={{-6.2,-12},{-6,-12},{-6,-50},{-39,-50}}, color={85,170,255}));
connect(currentSource.I, const.y) annotation (Line(points={{-6,-12},{-6,-12},{-6,-50},{-39,-50}}, color={85,170,255}));
annotation (defaultComponentName="currentSource",Icon(graphics={
Ellipse(
extent={{-50,50},{50,-50}},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ model FrequencySweepVoltageSource "Voltage source with integrated frequency swee
extends Interfaces.TwoPlug;
import Modelica.Constants.eps;
SI.Angle gamma(start=0) = plug_p.reference.gamma;
parameter Integer m=3 "Number of phases" annotation(Evaluate=true);
parameter SI.Frequency fStart(final min=eps, start=1) "Start sweep frequency";
parameter SI.Frequency fStop(final min=eps, start=1) "Stop sweep frequency";
parameter SI.Time startTime=0 "Start time of frequency sweep";
Expand Down