Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk/doc@23924 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Jan 2, 2015
1 parent 0d851d6 commit ceb43d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions SimulationRuntime/DynamicOptimization/DM.mo
@@ -1,6 +1,6 @@
optimization diesel_model (objective = cost1,
objectiveIntegrand = cost2)


/*output */
Real cost1 = (w_ice - 0.515309170685596)^2
Expand Down Expand Up @@ -193,5 +193,5 @@ equation
der(p_im) = 20.2505119361145*((0.526906365590249*sqrt(Cm_temp))-dot_m_ci);
der(p_em) = 0.0476078551344513*(T_eo*(dot_m_ci+dot_m_f-dot_m_t-dot_m_wg));
der(w_tc) = 0.0001*((P_t-P_c)/(0.000197779559297041*W_TC)-2.47230109968751E-005*W_TC*W_TC);

end diesel_model;
2 changes: 1 addition & 1 deletion SimulationRuntime/DynamicOptimization/DM2.mo
Expand Up @@ -184,5 +184,5 @@ equation
der(p_im) = 20.2505119361145*((0.526906365590249*sqrt(Cm_temp))-dot_m_ci);
der(p_em) = 0.0476078551344513*(T_eo*(dot_m_ci+dot_m_f-dot_m_t-dot_m_wg));
der(w_tc) = 0.0001*((P_t-P_c)/(0.000197779559297041*W_TC)-2.47230109968751E-005*W_TC*W_TC);

end diesel_model;
4 changes: 2 additions & 2 deletions SimulationRuntime/DynamicOptimization/DM2_ocp.mo
@@ -1,6 +1,6 @@
optimization opt_diesel_model (objective = cost1,
objectiveIntegrand = cost2)

extends diesel_model;

/*output */
Expand All @@ -9,5 +9,5 @@ Real cost1 = (w_ice - 0.515309170685596)^2
+ (p_em - 0.381048005791294)^2
+ (w_tc - 0.271443000537680)^2;
Real cost2 =dot_m_f;

end opt_diesel_model;

0 comments on commit ceb43d3

Please sign in to comment.