You are here

SimileForum

Support, wish lists, tips and tricks

Set of permutations

Hi

 

I am new to Simule (V 7.2) and I have been playing with experimental conditions to simulate results for large samples of parameter values.

I am trying to use “Set of permutations” to do this but I keep receiving this king of error message when I add a second list of parameters values like in the joint screenshot : 

 

can't read "exptl_case(year_demand=10+year_demand=20)": no such element in array

can't read "exptl_case(year_demand=10+year_demand=20)": no such element in array

    while executing

"set host $exptl_case($parent)"

Forums: 

"Unwanted parameter value request at 0.00" running in Simile (LINUX)

Hello,

I am running a Simile model and getting the error `Unwanted parameter value request at 0.000000` when I execute the line `reset.model(iHandle , -2)`. I am operating in Linux, Ubuntu 22.04. 

I am not sure why - I can use another model (another .so and .spf file) without error. Do you happen to have any hints where I should look?

Thank you for your help!

Best,

Alya 

Forums: 

Error R opening .so file in Linux

Hello,

we are now trying to run a Simile model on a Linux environment, and we are getting the following error after running these lines of code:

<mHandle <- load.model("mySimile.so")>

INFO [2024-04-29 13:57:20] Using simile at:/usr/lib/simile-6.12/Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") :
  [tcl] mySimile.so: cannot open shared object file: No such file or directory.

After running tcl("set", "errorInfo"), we got:

Forums: 

Error in running Simile from R on Windows

Hello,

I am trying to run a Simile model from R on a Windows machine.

mHandle <- load.model("mymodel.dll")

df_objects <- model_objects_as_df(mHandle)

iHandle <- create.model(mHandle)

set.model.step(iHandle, 3, 1)
set.model.step(iHandle, 2, 1)
set.model.step(iHandle, 1, 30)

pfile <- tcl("file", "join", getwd(), "mymodel.spf")
consult.parameter.metafile(iHandle, pfile)

# initialize the model, including default slider values
reset.model(iHandle , -2)

Forums: 

Smile v6.8 is unable to overwrite the registry

Hello everyone,

I wanted to install Smile64 v6.8. The first time I did it, I accidently put wrong info about who to register it to.

When you deinstall and install again, and put the correct info (Name, Insitution, Key), Smile still thinks the program is registered to the name that I put during the first installation, and tells me "Warning: This product has expired", so I guess it is unable to overwrite the registry when you re-install it. I searched the registry and the AppData and deleted everything belonging to Smile there, but it doesn't work.

 

Forums: 

R edition cannot use this model

Hi,

We built a model Simile 6.9 (windows version).

We are now trying to load it with R in Linux, but we cannot. Here is what we did:

  1. We openned the model first in Linux (with Simile 6.9 as well), and exported the binary (a .so file).
  2. We installed the "Simile" package in R (version 1.3.3) and we tried to load our model with:

require("Simile")

exec.extn <- as.character(tcl("info","sharedlibextension"))

path.to.installation <- "/usr/lib64/simile-6.9"

use.simile.at(path.to.installation)

Forums: 

Integrating models into a single file

If you have a set of models saved separately, and you want to put them all together in a single file, there are two ways you can do it:

Forums: 

ODBC in Linux

HI,

I have a working Simile 6.9 running under Fedora 28 (specs at: this other post). The spiro example works fine, under Simile and under R.

I am working now with a project that reads a few xlsx files, that works fine under Windows, but the Fedora 28 install yields the following error:

This system does not appear to have an ODBC driver available for files with the extension ".xlsx".

Do you know how to overcome this ?

 

Forums: 

Ideal Linux And R configuration

Hi,

I would like to know if you have a "perfect" list of Linux distro and R version that works fine.

We are trying Fedora 28 and after adding tk tables simile 6.9 works

but we get a tcl related error when we load the Simile package in R.

 

 

Forums: 

Installing Simile on multiple computers

Hallo everybody,
we are using windows 7pro  in our computer pool. Is there a way to install simile (Teaching Edition licence) on multiple computers in unattended mode? Are there any switches for installation?
Thanks a lot. Martin

Forums: 

Pages

Subscribe to RSS - SimileForum