Search found 4659 matches

by Administrator
Fri Sep 20, 2024 10:34 am
Forum: Vensim
Topic: Issue with Python Integration of Vensim Model (Reinstall Vensim Error 977)
Replies: 1
Views: 16

Re: Issue with Python Integration of Vensim Model (Reinstall Vensim Error 977)

Your path to the DLL is wrong. Why did you move the DLL to "c:\program files (x86)\vensim"?
by Administrator
Fri Sep 20, 2024 9:08 am
Forum: Vensim
Topic: Delay Fixed
Replies: 4
Views: 28

Re: Delay Fixed

I think the sample model is a poor demonstration of the function. I'll replace it in the near future.
by Administrator
Fri Sep 20, 2024 8:59 am
Forum: Vensim
Topic: Print-Every table bug?
Replies: 1
Views: 26

Re: Print-Every table bug?

It's a bug, and will be fixed in the next release.
by Administrator
Thu Sep 19, 2024 7:30 am
Forum: Vensim
Topic: Switch to Light mode
Replies: 4
Views: 56

Re: Switch to Light mode

Yes, we'll get this fixed.
by Administrator
Wed Sep 18, 2024 3:33 pm
Forum: Vensim
Topic: Switch to Light mode
Replies: 4
Views: 56

Re: Switch to Light mode

No, you cannot switch the app itself into light mode. You can switch the sketch though (under the view menu).
by Administrator
Fri Sep 13, 2024 8:14 am
Forum: Vensim
Topic: Help for Market Match X01 or alternatives?
Replies: 7
Views: 407

Re: Help for Market Match X01 or alternatives?

We've done it twice in the past. Way back (25 years ago), I implemented the simplex code from numerical recipes. And I know Tom wrote code a few years ago include LP Solve in Vensim. Both efforts were via external functions. What we have is certainly out of date by now. I'll create a ticket in our i...
by Administrator
Tue Sep 10, 2024 3:07 pm
Forum: Vensim
Topic: cannot change the font of the equation editor
Replies: 8
Views: 583

Re: cannot change the font of the equation editor

I'm guessing you are using a relatively small display. Try a point size of 9, then 10, then 11 and see if that helps.
by Administrator
Tue Sep 10, 2024 9:05 am
Forum: Vensim
Topic: cannot change the font of the equation editor
Replies: 8
Views: 583

Re: cannot change the font of the equation editor

And how large is your display? What is the resolution?
by Administrator
Tue Sep 10, 2024 7:30 am
Forum: Vensim
Topic: cannot change the font of the equation editor
Replies: 8
Views: 583

Re: cannot change the font of the equation editor

What point size have you selected for the font?
by Administrator
Mon Sep 09, 2024 7:23 am
Forum: Vensim
Topic: cannot change the font of the equation editor
Replies: 8
Views: 583

Re: cannot change the font of the equation editor

Try making the font smaller.

Vensim tests to see if the editor can fit on screen when it's started. If it cannot, it reverts to a small size, so it's likely the font you've selected is too large.

This will change when we enable the new editor (coming soon).
by Administrator
Fri Sep 06, 2024 11:22 am
Forum: Vensim
Topic: Compile Errors on macOS
Replies: 32
Views: 25597

Re: Compile Errors on macOS

This is working fine for me.

Are you using a file sync application at all? Maybe the .c file that Vensim creates is being marked as in use?
by Administrator
Fri Sep 06, 2024 10:28 am
Forum: Vensim
Topic: Compile Errors on macOS
Replies: 32
Views: 25597

Re: Compile Errors on macOS

ok, I'll test. Hopefully it's something very simple like a permissions issue.
by Administrator
Thu Sep 05, 2024 4:28 pm
Forum: Vensim
Topic: DLL vensim_get_vecvals
Replies: 1
Views: 306

Re: DLL vensim_get_vecvals

Always check the return value when calling into the DLL, if it returns zero, something has not worked correctly. For example, you are not checking the result of the call
vensim_dll.vensim_get_vecvals(vec.ctypes.data_as(POINTER(c_float)), fp, len(Variable))
by Administrator
Wed Sep 04, 2024 2:19 pm
Forum: Vensim
Topic: Copying models to new application
Replies: 3
Views: 525

Re: Copying models to new application

You can also use sub-models if you want to include an existing model in a new one.
by Administrator
Wed Sep 04, 2024 2:17 pm
Forum: Vensim
Topic: Copying models to new application
Replies: 3
Views: 525

Re: Copying models to new application

Yes, you can just copy/paste.

Make sure you have Tools->Options->General, "Close active model on open/new" unticked.
by Administrator
Tue Sep 03, 2024 7:09 am
Forum: Vensim
Topic: Setting Auxiliary With Lookup
Replies: 2
Views: 1868

Re: Setting Auxiliary With Lookup

I'm not sure if you need a lookup.

Can you explain the relationship between "Vacancies" and "number of active workers"?
by Administrator
Fri Aug 30, 2024 3:08 pm
Forum: Vensim
Topic: Disappearing Control Panel window on second display
Replies: 8
Views: 2994

Re: Disappearing Control Panel window on second display

For the control panel, if I toggle it on/off again, it appears back on the main screen.
by Administrator
Fri Aug 30, 2024 3:07 pm
Forum: Vensim
Topic: Disappearing Control Panel window on second display
Replies: 8
Views: 2994

Re: Disappearing Control Panel window on second display

Hmm. This is bizarre.

If I move the Vensim main window onto the other monitor, the dialog re-appears.

I'll need time to investigate this.
by Administrator
Fri Aug 30, 2024 1:25 pm
Forum: Vensim
Topic: Compile Errors on macOS
Replies: 32
Views: 25597

Re: Compile Errors on macOS

On Vensim DSS 10.2.1 (MC), the compile error randomly happens (I have a hunch that it happens if it wants to recompile the model after some equations have changed) and the only workaround I've found so far is to close and reopen Vensim. I hope there should be an easy fix for this in the source code...
by Administrator
Wed Aug 28, 2024 7:16 am
Forum: Vensim
Topic: Disappearing Control Panel window on second display
Replies: 8
Views: 2994

Re: Disappearing Control Panel window on second display

I'll look into this at some point over the next few days.
by Administrator
Wed Aug 28, 2024 7:00 am
Forum: Vensim
Topic: Error message
Replies: 4
Views: 1478

Re: Error message

Can you share the model/spreadsheet (vensim@vensim.com)?

Model MS Office documents have a http:// path internally which needs to be resolved into a path on the hard drive (this needs access to the registry). There is always a chance that MS have changed something that we need to deal with.
by Administrator
Fri Aug 23, 2024 7:46 pm
Forum: Vensim
Topic: Syntax coloring in VSCode?
Replies: 3
Views: 1482

Re: Syntax coloring in VSCode?

I think Max Kleeman has done something like this, but not using VS Code.
by Administrator
Wed Aug 21, 2024 6:06 pm
Forum: Vensim
Topic: Vensim Opens Model in Text Mode
Replies: 7
Views: 2099

Re: Vensim Opens Model in Text Mode

If the GET XLS files are not open when you open the model, Vensim defaults to the Text view No, this is not correct. However it appears that if I open the model without the spreadsheets open, Vensim opens the spreadsheets. This is the default. And if the spreadsheets cannot be found, you would be w...
by Administrator
Wed Aug 21, 2024 3:17 pm
Forum: Vensim
Topic: Vensim Opens Model in Text Mode
Replies: 7
Views: 2099

Re: Vensim Opens Model in Text Mode

Have you tried view-as sketch?