Help - Search - Members - Calendar
Full Version: modelica and scicos
Modelica Forum > Modelica > Modelica
emanuele
Hi all,

I am new in the world of modelica. Today I have my first approch to it.
On modelica.org web sites I discover an article talking about modelica
scicos supports. Article is dated march 2005. Could Somebody give me
some other information on the "state of the art" of this integration?

Thanks in advance and sorry for my bad english.
emanuele
ajardin
Hi,

I'm a beginner in the world of modelica too but I've received a training on 'how to use modelica in scicos'.
Perhaps I can help you. What king of information do you exactly need ?

Have a good day,
ajardin

QUOTE(emanuele @ Mar 9 2007, 09:25 AM) *

Hi all,

I am new in the world of modelica. Today I have my first approch to it.
On modelica.org web sites I discover an article talking about modelica
scicos supports. Article is dated march 2005. Could Somebody give me
some other information on the "state of the art" of this integration?

Thanks in advance and sorry for my bad english.
emanuele

emanuele
QUOTE(ajardin @ Mar 9 2007, 04:44 PM) *

Hi,

I'm a beginner in the world of modelica too but I've received a training on 'how to use modelica in scicos'.
Perhaps I can help you. What king of information do you exactly need ?

Have a good day,
ajardin


Hi ajrdind, thanks for the reply.
Infomations I need are:

1) Why only electricals and hydraulics blocks are integrated in scicos
2) How can I write (maybe programming) a block in modelica for import it in scicos?

thanks in advance.
emanuele
ajardin
QUOTE(emanuele @ Mar 12 2007, 12:26 PM) *

Hi ajrdind, thanks for the reply.
Infomations I need are:

1) Why only electricals and hydraulics blocks are integrated in scicos
2) How can I write (maybe programming) a block in modelica for import it in scicos?

thanks in advance.
emanuele



Hi emanuele,

To anwer to your questions :

1°/ I don't know the right answer. I guess that it's due to different projects INRIA (who programs scicos) has lead with his industrial partners.
Anyway I think that you can develop your own explicit block in scicos...

2°/ I advise you to visit the scicos home page (http://www.scicos.org/) where you'll find the latest version of scicos to download (normally with the modelica extension) and some documentation with helpful examples.
Otherwise you can try by your own :
- create a new scicos model
- click on edit -> add new block
- tape MBLOCK2 (if you have make a copy in your working repertory or search ii in your install repertory)
- click on the blank page : a new block appears
- double-click on it and then tape what you want (remark : faced to 'function name' you can tape the name of your model and then a window will appear for taping your code or you can tape directly the path of your file '.mo' (and no window will appear))

I hope that this will help you.
Good luck wink.gif

ajardin
emanuele
thanks for the reply. Regard the second question:
I want to create a model with modelica, and then i want to import it in scicos. How can I do this? Is it possible? Must I compile the file.mo with modelicac compiler?

thanks in advance
emanuele
ajardin
QUOTE(emanuele @ Mar 13 2007, 06:29 PM) *

thanks for the reply. Regard the second question:
I want to create a model with modelica, and then i want to import it in scicos. How can I do this? Is it possible? Must I compile the file.mo with modelicac compiler?

thanks in advance
emanuele


Hi,

No you don't need to compile the file .mo with modelicac compiler : it'll be done automatically when you'll launch the simulation. If you read the second part of my answer, I wrote that you have the possibility to enter (in the scicos modelica block window) the path of a file .mo that you have already write : that's the way to import modelica model in scicos.

ajardin
emanuele
ok, I'm trying it.
thanks
emanuele
emanuele
hi, after launched scilab, open scicos and do "edit->add new block". After taped MBLOCK2 scilab open a GUI and want to open a .sci file.
Is it correct?
thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.