Skip to content

Commit

Permalink
Make the new variable a parameter as it is more idiomatic.
Browse files Browse the repository at this point in the history
Co-authored-by: Hans Olsson <HansOlsson@users.noreply.github.com>
  • Loading branch information
qlambert-pro and HansOlsson committed Dec 12, 2023
1 parent d37bbb2 commit fa0765e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modelica/Electrical/Analog/Semiconductors/Thyristor.mo
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ model Thyristor "Simple Thyristor Model"
SI.Voltage vControl(start=0);
SI.Voltage vContot;
SI.Voltage vConmain;
SI.Voltage vRef = 0.65;
parameter SI.Voltage vRef = 0.65;

public
Modelica.Electrical.Analog.Interfaces.PositivePin Anode annotation (Placement(transformation(extent={{-110,-10},{-90,10}})));
Expand Down

0 comments on commit fa0765e

Please sign in to comment.