- Index
- » Users
- » sxfcherry
- » Profile
Posts
Posts
when i set the simulation time 10s or longer time,then the curve of variable is only to 4.5 ,and the error message is as follows:
warning | Error solving nonlinear system SES_SIMPLE_ASSIGN 1 at time 4.5028
info | model terminate | Simulation terminated at time 4.5
could someone tell me what i can do to solve this problem? Thank you so much!
hi, when i script like "> %OPENMODELICAHOME%\bin\OMPlot --filename=helloworld_res.mat --plotAll" it says helloworld_res.mat is not existent. is there some requirement for the path of the .mat file?
"
i would also like to ask a question,could the exe file can directly display the result ,for example the curve of the variable,it can pop out in the screen? I am a Chinese college students doing the graduateproject , I am very grateful for your help!
Thank you so much!!! you help me so much!
Thank you so much!
but i cannot understand "You run Model.exe from the command line to get Model.mat." when i just double-click to open the exe file,then a window flash and then disappear.and how i can run Model.exe from the command line? thank you ! i am a beginner so what i know is so little.
Is there some guide about this?thank you !
i want to know whether i can get my model files directly packaged into exe format, which does not depend on OMEdit and can generate the simulation results? Thank you !!
yes,and in the system guide I have seen that "
The library libsim.a is the runtime library for simulations, it contains solvers and a main function for the simulation. The following files are included:
simulation_runtime.* Includes the main function, solver wrappers,etc.
daux.f Auxiliary Fortran functions.
ddasrt.f DDASRT solver.
ddassl.f DASSL solver.
dlamch.f Determine machine parameters for solvers.
dlinpk.f Gaussian elimination routines, used by solvers.
lsame.f LAPACK axuiliary routine LSAME.
Non-linear solver:
hybrd1.f Non-linear solver with approximate jacobian.
hybrj.f Non-linear solver with analythical jacobian.- alternative for non-linear solver.
fdjac1.f Helper routines
enorm.f Helper routines.
dpmpar.f Helper routines
dogleg.f Helper routines"
and can i use these solver?for example, the non-linear ones?thank you!
I want to know whether I can change the solver of the openmodelica ,and the process is simple or not and need i change the source code ?
my error message(in OMshell) is as follows :
warning | Error solving nonlinear system SES_ALGORITHM 0 at time 0.0159813
info | model terminate | Simulation terminated at time 0.014
",
but i can not understand what "SES_ALGORITHM "means. and then I should do what to solve the problem.
so I want to know where I can find the diagnostics.Thank you !
Hi,Could you help me ? I am in my graduation project ,Thank you so much!
The message of error is as follows :
Scripting 16:08:19 0:0-0:0 Failed to open simulation result C:/Users/sxf/AppData/Local/Temp/OpenModelica/OMEdit/wojiubx_res.mat: Too few rows in data_2 matrix
I cannot understand "Too few rows in data_2 matrix" .Can someone tell me what possible reasons for this situation? Thank you!
Hi,I want to know how I can create a c code library and even compiles it to an exe.I have never seen it in the tutorial . Thank you !
The message of error is as follows :
Scripting 16:08:19 0:0-0:0 Failed to open simulation result C:/Users/sxf/AppData/Local/Temp/OpenModelica/OMEdit/wojiubx_res.mat: Too few rows in data_2 matrix
I cannot understand "Too few rows in data_2 matrix" .Can someone tell me what possible reasons for this situation? Thank you!
thank you so much!
Thank you! I use version 1.8.0.
Scripting 10:11:56 0:0-0:0 Failed to open simulation result C:/Users/sxf/AppData/Local/Temp/OpenModelica/OMEdit/evmode_res.mat: No such file or directory
can someone tell me what the error means?
case is :
in the former time,I can simulate the program successfully,however, later I can simulate it and no plot result,the
message is " cannot find the result in .mat
thank you !
when I simulate,the result is “Failed to open simulation result C:/Users/sxf/AppData/Local/Temp/OpenModelica/OMEdit/wowowowo_res.mat: No such file or directory”
can someone tell me why?
no,for example,I simulate from 0 to 1 ,but the actual time is just 0.012s,
In some cases, the actual simulation time is not consistant with my setting simulation time ,and the actual is so small. Can somebody tell me why?thank you!
Hi,I want to know how I can make the programe end when a condition occurs. in OpenModelica.
Thank you!
cherry
Thank you !
in the “MoonLanding” example,
“when apollo.altitude < 20 then
terminate("The moon lander touches the ground of the moon");
end when;”
but the simulation result is not expected,the altitude is smaller than 0.
could someone tell me why?
I want to model the drivingshaft of a vehicle. If I just use mathematical equations,I can get the right simulation result. however,my aim is to model a whole vehicle,so I need to add a connector (flange )to my model ,then errors come up ! my code is as follows :
model drivingshaft
import SI = Modelica.SIunits;
RotFlange_a flange_a ;
input SI.Velocity u;
SI.AngularVelocity dew;
parameter SI.Mass m = 1360;
parameter SI.Area A = 2.57;
parameter SI.CoefficientOfFriction Cd = 0.26,f = 0.014;
parameter SI.Radius Rwh = 0.348;
parameter SI.Acceleration g = 9.81;
parameter Real ktrans = 4.113;
SI.Force Fenv;
SI.Torque tau;
parameter SI.Inertia J = m * Rwh ^ 2;
equation
dew = der(flange_a.phi);
Fenv = (Cd * A * u ^ 2) / 21.15 + m * g * f + m * der(u);
tau = Fenv * Rwh;
dew = u / (Rwh * ktrans);
J * der(dew) = flange_a.tau + tau;
end drivingshaft;
who can tell me the problem? Thank you!
cherry
Thank you so much!
cherry
I am a beginner of Modelica language.I want to get the state of charge of a battery,it needs the integrator of current,but I cannot .I hope someone can help me !
Thank you!
cherry
- Index
- » Users
- » sxfcherry
- » Profile