diff --git a/Buildings/Electrical/DC/Loads/Resistor.mo b/Buildings/Electrical/DC/Loads/Resistor.mo
index a45ffe14a11..16bef82695c 100644
--- a/Buildings/Electrical/DC/Loads/Resistor.mo
+++ b/Buildings/Electrical/DC/Loads/Resistor.mo
@@ -47,7 +47,7 @@ The temperature T is the temperature of the heat port if useHeatPor
November 2, 2024, by Michael Wetter:
Changed guarding against division by zero.
This is for
-#4032.
+Buildings #4032.
November 3, 2015, by Michael Wetter:
Set default value for P_nominal
to avoid an error when translating
diff --git a/Buildings/Electrical/Interfaces/Load.mo b/Buildings/Electrical/Interfaces/Load.mo
index 63efea7234b..5a25c2a9888 100644
--- a/Buildings/Electrical/Interfaces/Load.mo
+++ b/Buildings/Electrical/Interfaces/Load.mo
@@ -22,7 +22,7 @@ model Load "Partial model for a generic load"
or linearized)));
parameter Buildings.Electrical.Types.InitMode initMode(
min=Buildings.Electrical.Types.InitMode.zero_current,
- max=Buildings.Electrical.Types.InitMode.linearized) = Buildings.Electrical.Types.InitMode.zero_current
+ max=Buildings.Electrical.Types.InitMode.linearized) = Buildings.Electrical.Types.InitMode.linearized
"Initialization mode for homotopy operator" annotation(Dialog(tab = "Initialization"));
Modelica.Units.SI.Voltage v[:](start=PhaseSystem.phaseVoltages(V_nominal)) =
@@ -113,6 +113,13 @@ equation
annotation ( Documentation(revisions="
-
+November 14, 2024, by Michael Wetter:
+Changed default initialization method to using linearized model rather than zero current, as
+the latter causes a division by zero in OpenModelica during the homotopy initialization.
+This is for
+Buildings, #4048.
+
+-
January 30, 2019, by Michael Wetter:
Set start value for P
.
diff --git a/Buildings/Resources/Scripts/BuildingsPy/conf.yml b/Buildings/Resources/Scripts/BuildingsPy/conf.yml
index d17f0b571c8..33e16b1aa83 100644
--- a/Buildings/Resources/Scripts/BuildingsPy/conf.yml
+++ b/Buildings/Resources/Scripts/BuildingsPy/conf.yml
@@ -38,10 +38,6 @@
openmodelica:
comment: simulation terminated by an assertion at initialization.
simulate: false
-- model_name: Buildings.Electrical.DC.Loads.Examples.LinearizedLoad
- openmodelica:
- comment: '''omc'' caused ''simulation terminated by an assertion at initialization''.'
- simulate: false
- model_name: Buildings.Examples.DualFanDualDuct.ClosedLoop
optimica:
comment: CVode and Radau5ODE hang since https://github.com/lbl-srg/modelica-buildings/pull/3109, likely because Xi rather than mXi is a state