Skip to content

Commit 5c9a470

Browse files
authored
Merge pull request #4022 from AHaumer/FixIssue4021
Removed duplicate definition of m
2 parents 3a5289d + b3c68cc commit 5c9a470

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Modelica/Electrical/QuasiStatic/Polyphase/Sources/FrequencySweepCurrentSource.mo

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ model FrequencySweepCurrentSource "Current source with integrated frequency swee
33
extends Interfaces.TwoPlug;
44
import Modelica.Constants.eps;
55
SI.Angle gamma(start=0) = plug_p.reference.gamma;
6-
parameter Integer m=3 "Number of phases" annotation(Evaluate=true);
76
parameter SI.Frequency fStart(final min=eps, start=1) "Start sweep frequency";
87
parameter SI.Frequency fStop(final min=eps, start=1) "Stop sweep frequency";
98
parameter SI.Time startTime=0 "Start time of frequency sweep";
@@ -24,7 +23,7 @@ equation
2423
connect(logFrequencySweep.y,currentSource. f) annotation (Line(points={{19,-50},{6,-50},{6,-12}}, color={0,0,127}));
2524
connect(plug_p,currentSource. plug_p) annotation (Line(points={{-100,0},{-10,0}}, color={85,170,255}));
2625
connect(currentSource.plug_n, plug_n) annotation (Line(points={{10,0},{100,0}}, color={85,170,255}));
27-
connect(currentSource.I, const.y) annotation (Line(points={{-6.2,-12},{-6,-12},{-6,-50},{-39,-50}}, color={85,170,255}));
26+
connect(currentSource.I, const.y) annotation (Line(points={{-6,-12},{-6,-12},{-6,-50},{-39,-50}}, color={85,170,255}));
2827
annotation (defaultComponentName="currentSource",Icon(graphics={
2928
Ellipse(
3029
extent={{-50,50},{50,-50}},

Modelica/Electrical/QuasiStatic/Polyphase/Sources/FrequencySweepVoltageSource.mo

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ model FrequencySweepVoltageSource "Voltage source with integrated frequency swee
33
extends Interfaces.TwoPlug;
44
import Modelica.Constants.eps;
55
SI.Angle gamma(start=0) = plug_p.reference.gamma;
6-
parameter Integer m=3 "Number of phases" annotation(Evaluate=true);
76
parameter SI.Frequency fStart(final min=eps, start=1) "Start sweep frequency";
87
parameter SI.Frequency fStop(final min=eps, start=1) "Stop sweep frequency";
98
parameter SI.Time startTime=0 "Start time of frequency sweep";

0 commit comments

Comments
 (0)