QSS_model.c #180
Replies: 3 comments
-
Hi @mongibellili, sorry for the delay. in order to create the model instance needed by the QSS solver, you will have to define:
The easiest way to generate the model instance is to use the MMO compiler that computes all the files needed automatically. You can either use the GUI interface or just use the compiler from the command line. |
Beta Was this translation helpful? Give feedback.
-
Thank you. That was what I was looking for.
Keep up the good work.
…On Wed, Apr 13, 2022, 8:26 PM Joaquin ***@***.***> wrote:
Hi @mongibellili <https://github.com/mongibellili>, sorry for the delay.
in order to create the model instance needed by the QSS solver, you will
have to define:
- The model definition.
- If the model is hybrid, the zero-crossing functions and their
relative positive and negative handlers.
- The model dependencies function for state derivatives.
- The routine to initialize the engine data structures.
The easiest way to generate the model instance is to use the MMO compiler
that computes all the files needed automatically. You can either use the
GUI interface or just use the compiler from the command line.
I attach an example of a model instance generated by the compiler for the
advection
<https://github.com/CIFASIS/qss-solver/blob/qss-solver-dev/models/advection/advection.mo>
Modelica model
advection.zip
<https://github.com/CIFASIS/qss-solver/files/8483749/advection.zip>
—
Reply to this email directly, view it on GitHub
<#152 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOFAMBCSWEVN7YF64IQ2MK3VE4GUBANCNFSM5SYUBF7Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi Joaquin and QSS solver team, |
Beta Was this translation helpful? Give feedback.
-
hello,
Could you please upload an example of what QSS_model.c would be like.
thank you for your time and consideration!
Beta Was this translation helpful? Give feedback.
All reactions