Skip to content

Commit

Permalink
Patching
Browse files Browse the repository at this point in the history
Removing Dymola leftovers
Fixing paths on automation functions
  • Loading branch information
lvanfretti committed Mar 13, 2024
1 parent 7a97689 commit 3200306
Show file tree
Hide file tree
Showing 44 changed files with 4 additions and 1,822 deletions.

This file was deleted.

77 changes: 0 additions & 77 deletions Example2/Analysis/KchangeLinRamping_pf.bak-mo

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ function linearize_KchangeLinRamping
"Function to linearize the model KchangeLinRamping at any point in time."
extends Modelica.Icons.Function;
input Real tlin = 600 "[s], time for linearization.";
input String pathToNonlinearPlantModel = "Example2.Analysis.KchangeLinRamping";
input String pathToNonlinearPlantModel = "Example2.Analysis.PFVariants.KchangeLinRamping_pf";
algorithm
// turn off flags to avoid issues in the generated linear model
Modelica.Utilities.Streams.print("Setting up things...");
Expand Down Expand Up @@ -39,7 +39,7 @@ ss := Modelica_LinearSystems2.ModelAnalysis.Linearize(
<ol>
<li>In the Package Browser, right click on the function and select &quot;Call function...&quot;. This will open the function&apos;s window. </li>
<p><img src=\"modelica://Example2/Resources/linfun.png\"/></p>
<li>Enter the time for linearization, <span style=\"font-family: Courier New;\"><a href=\"Example2.Analysis.KchangeLinRamping\">Example2.Analysis.KchangeLinRamping</a></span> will be simulated until that point in time and linearized.</li>
<li>Enter the time for linearization, <span style=\"font-family: Courier New;\"><a href=\"modelica://Example2.Analysis.KchangeLinRamping\">Example2.Analysis.KchangeLinRamping</a></span> will be simulated until that point in time and linearized.</li>
<li>In the new function window, click on &quot;Execute&quot;, if successful, messages/results are displayed in the command window and plots will appear in Simulation tab.</li>
<li>Go back to the function&apos;s own window and click on &quot;Close&quot;. </li>
</ol>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
simulate_and_plot_ramping
simulate_and_plot_inputs
linearize_KchangeLinRamping
linearize_KchangeLinRamping_pf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ algorithm
Example2.Utilities.SetupSolverSettings.On(corenum);
// run the simulation
simulateModel(
"Example2.Analysis.RampingRandomLoadAndInput",
"Example2.Analysis.PFVariants.RampingRandomLoadAndInput_pf",
stopTime=4050,
numberOfIntervals=5000,
tolerance=1e-06,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ algorithm
Example2.Utilities.SetupSolverSettings.On();
// run the simulation
simulateModel(
"Example2.Analysis.Ramping",
"Example2.Analysis.PFVariants.Ramping_pf",
stopTime=4050,
numberOfIntervals=5000,
tolerance=1e-06,
Expand Down
73 changes: 0 additions & 73 deletions Example2/Analysis/PFVariants/KchangeLinRamping.bak-mo

This file was deleted.

79 changes: 0 additions & 79 deletions Example2/Analysis/Ramping_pf.bak-mo

This file was deleted.

79 changes: 0 additions & 79 deletions Example2/Analysis/Ramping_pf_1.bak-mo

This file was deleted.

Loading

0 comments on commit 3200306

Please sign in to comment.