Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : Coselica details
Login with GitLab

Coselica

Standard Open Modelica Blocks
(1290 downloads for this version - 185418 downloads for all versions)
Details
Version
0.5
A more recent valid version with binaries for Scilab 5.4 exists: 0.6.3
Author
Dirk REUSCH, Bruno JOFRET
Owner Organization
Scilab Enterprises
Maintainer
Bruno JOFRET
Categories
License
Creation Date
November 20, 2012
Source created on
Scilab 5.4.x
Binaries available on
Scilab 5.4.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit macOS
Install command
--> atomsInstall("coselica")
Description
            Coselica Toolbox provides about 200 basic Xcos Modelica blocks for
modeling and simulation of electrical (analog), mechanical (1D-translational,
1D-rotational, and 2D-planar) and thermodynamical (0/1D-heattransfer) systems.
Almost all of these blocks have been derived from the Modelica
Standard Library 2.2.
            
Files (2)
[1.27 MB]
Source code archive

[3.67 MB]
OS-independent binary for Scilab 5.4.x
Binary version
Automatically generated by the ATOMS compilation chain

News (0)
Comments (6)     Leave a comment 
Comment from Madilyn Ottosson -- November 22, 2012, 03:02:50 PM    
Since the update of Coselica I can't simulate my old projects.
In Scilab console I get the error:
"Wrong type for argument 2: List expected."
And I have found one bug and it is the interface CBI_RealInput.
Answer from Bruno JOFRET -- November 26, 2012, 10:11:20 AM    
> Since the update of Coselica I can't simulate my old projects.
> In Scilab console I get the error:
> "Wrong type for argument 2: List expected."
> And I have found one bug and it is the interface CBI_RealInput.

This issue should be fixed in new 0.5.1 version.
Comment from NITIN JOHRI -- February 21, 2013, 04:46:12 PM    
I am repeatedly getting this error message "-------Modelica translator error
message:-----" 

while running any physics module like 4 bar, crankshaft, simple pendulum, spring mass etc. 


in Coselica.


"Also how to get the code of this simulation & how to understand this code step by
step.

Please explain , how to solve this problem.

Its Urgent.

Thanks

Nitin Johri
Comment from NITIN JOHRI -- February 21, 2013, 04:46:47 PM    
I am repeatedly getting this error message "-------Modelica translator error
message:-----" 

while running any physics module like 4 bar, crankshaft, simple pendulum, spring mass etc. 


in Coselica.


"Also how to get the code of this simulation & how to understand this code step by
step.

Please explain , how to solve this problem.

Its Urgent.

Thanks

Nitin Johri
Answer from Bruno JOFRET -- February 21, 2013, 05:13:13 PM    
> I am repeatedly getting this error message "-------Modelica translator error
> message:-----" 

There should be some details just below this message.
Please have a look into your Scilab Console.

> while running any physics module like 4 bar, crankshaft, simple pendulum, spring mass
> etc.  
> 
> in Coselica.
> 
> 
> "Also how to get the code of this simulation & how to understand this code
step
> by step.
> 
> Please explain , how to solve this problem.
> 
> Its Urgent.
> 
> Thanks
> 
> Nitin Johri
Answer from Bruno JOFRET -- February 22, 2013, 08:40:56 AM    
Hi again

Please reply using this web form.

Can you try some Scilab standard demo ?
Open demo GUI (? -> Scilab demonstrations)
then try to execute a dymamic link one (Dynamic link -> Call a C function)

What is the result ?
Comment from NITIN JOHRI -- February 22, 2013, 09:18:53 AM    
Following Error is given, on doing as told by you:

!--error 15 
Submatrix incorrectly defined.
at line      42 of function generic_i_h called by :  
at line       2 of function %c_i_h called by :  
at line      51 of function demo_gui_update called by :  
= getcallbackobject("210010ab:13d00f546f1:-7f6a");script_path =
demo_gui_update();exec(script_path,-1);clear script_path;;if exists("%oldgcbo")
then gcbo
= %oldgcb
while executing a callback
 
 
 !--error 15 
Submatrix incorrectly defined.
at line      42 of function generic_i_h called by :  
at line       2 of function %c_i_h called by :  
at line      51 of function demo_gui_update called by :  
= getcallbackobject("210010ab:13d00f546f1:-7f6a");script_path =
demo_gui_update();exec(script_path,-1);clear script_path;;if exists("%oldgcbo")
then gcbo
= %oldgcb
while executing a callback
 
 
---------
Plz advise.
Comment from Bruno JOFRET -- February 22, 2013, 09:26:44 AM    
Retry being patient.
demo_gui may be slow depending on your computer...
So open it (? -> Scilab demonstrations)
Then click on "Dynamic link" <= a single click and wait until another frame
shows up beside the first one
Then click on "Call a C function" <= single click too ...

this should display something like

C Function to call in scilab.
 
!void foo(double *a,double *b,double *c)  !
!                                         !
!{ *c = *a + *b; }                        !

Call ilib_for_link to build C function.
   Generate a loader file
[....]

in you console.
Comment from Franco Concli -- July 31, 2015, 03:25:44 PM    
I have some problems to run the tutorials involving modelica (Coselica, SIMM) getting
errors
errors like, for example:


Main Modelica : C:\Users\frenk\AppData\Local\Temp\SCI_TMP_5096_\HeatingRectifier_im.mo
c_pass1: build the modelica meta-block failed 
xcos_simulate: Error during block parameters update.   
Fin SIMM pre_simulate

The installed compiler is
gcc-4.6.3-64

Regards
Franco
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.