Search found 156 matches

by Phill
Tue Oct 04, 2022 8:00 am
Forum: Vensim
Topic: Advice for controlling a flow
Replies: 19
Views: 2169

Re: Advice for controlling a flow

I've removed that NOISE SEED variable and the web files compile correctly now.
by Phill
Tue Oct 04, 2022 7:51 am
Forum: Vensim
Topic: Advice for controlling a flow
Replies: 19
Views: 2169

Re: Advice for controlling a flow

I'm using it in a NOISE SEED variable,

NOISE SEED= INITIAL(
GET TIME VALUE(2,0,10))
~ Dmnl
by Phill
Mon Oct 03, 2022 2:49 pm
Forum: Vensim
Topic: Advice for controlling a flow
Replies: 19
Views: 2169

Re: Advice for controlling a flow

I have changed the data variables in my model to lookups, but now when I run the 'Publish web files' command, I get the following errors, then the routine fails: error: undefined symbol: GET_TIME_VALUE (referenced by top-level compiled C/C++ code) warning: Link with `-s LLD_REPORT_UNDEFINED` to get ...
by Phill
Wed Sep 21, 2022 10:33 am
Forum: Vensim
Topic: Advice for controlling a flow
Replies: 19
Views: 2169

Re: Advice for controlling a flow

That's all clear, thanks
by Phill
Fri Sep 16, 2022 12:47 pm
Forum: Vensim
Topic: Advice for controlling a flow
Replies: 19
Views: 2169

Re: Advice for controlling a flow

I tried converting my XLS data to VDF, via a DAT file, but now when I try to 'Publish web files' I still get an error, 'ERROR: Data variables are not yet supported for web publishing:', so I assume no external data sources are yet possible in this publishing mode. I understand what you said before, ...
by Phill
Mon Aug 08, 2022 7:13 am
Forum: Vensim
Topic: Advice for controlling a flow
Replies: 19
Views: 2169

Re: Advice for controlling a flow

I hope the SD conference went well. Do you have any more information on the web-ready publishing feature and connections to external data?
by Phill
Sat Jul 23, 2022 7:31 am
Forum: Vensim
Topic: Advice for controlling a flow
Replies: 19
Views: 2169

Re: Advice for controlling a flow

Thank you Tom, do you know yet when that might be available, it is a very interesting option for us?
by Phill
Fri Jul 22, 2022 6:59 am
Forum: Vensim
Topic: Advice for controlling a flow
Replies: 19
Views: 2169

Re: Advice for controlling a flow

That will teach me to check the Help files before I ask a question. I installed the Emscripten SDK and 'Publish web files' now seems to work well, but can I ask if it is possible to compile a model that uses external data sources? My model links to Excel files and I get an error for 'unsupported fil...
by Phill
Thu Jul 21, 2022 8:50 am
Forum: Vensim
Topic: Advice for controlling a flow
Replies: 19
Views: 2169

Re: Advice for controlling a flow

I am using DSS, version 9.3.0. Is there documentation about the javascript/html/webassembly options? If I use the option under the 'File' menu to 'Publish web files', I get a 'Stop' error, 'Emscripten SDK not set up'.
by Phill
Wed Jul 20, 2022 9:38 am
Forum: Vensim
Topic: Advice for controlling a flow
Replies: 19
Views: 2169

Re: Advice for controlling a flow

Thank you Tom, a simple lookup, or external data table is sufficient to start with. I added those to my model, just three lookup tables for 'normal', 'good' and 'bad' weather. On each run I can simply manually alter which lookup table is called, but is there any way to randomly select a lookup table...
by Phill
Thu Jul 14, 2022 9:46 am
Forum: Vensim
Topic: Advice for controlling a flow
Replies: 19
Views: 2169

Re: Advice for controlling a flow

I should have added that I need the model to respond to different weather patterns, so the key would be to easily change the weather distribution without having to change any other variables
by Phill
Thu Jul 14, 2022 9:43 am
Forum: Vensim
Topic: Advice for controlling a flow
Replies: 19
Views: 2169

Advice for controlling a flow

Hello, I would appreciate some 'best practice' advice on how to control a flow to a stock. I have a flow of visitors into a park, with a rate that depletes the stock of 'Available visitors' and transfers them to the stock of 'Visitors in park'. The model runs hourly for 24 hours and the flow is cont...
by Phill
Fri Nov 12, 2021 1:58 pm
Forum: Vensim
Topic: Output difference between model and dll
Replies: 3
Views: 1715

Re: Output difference between model and dll

This is in gaming mode and it is mixed, the local copy of Vensim runs under Windows, the DLL is on a Unix server. But the local copy (under Windows) outputs correct results in any mode, it's only on the server that the problem appears.
by Phill
Fri Nov 12, 2021 12:32 pm
Forum: Vensim
Topic: Output difference between model and dll
Replies: 3
Views: 1715

Output difference between model and dll

Hello, This is one of those scratch-the-head problems and it has been keeping me up for a few nights! I have a model which outputs revenue figures for sales on a per week and a cumulative basis. When I run the MDL or VPMX files locally in Vensim, the outputs are fine. Here is an example, where the v...
by Phill
Tue Aug 17, 2021 11:43 am
Forum: Vensim
Topic: Difference integration
Replies: 12
Views: 2970

Re: Difference integration

Well, that works and solves the problem, thank you. And that welcome message, 'Units are O.K.' appears!!
by Phill
Tue Aug 17, 2021 11:00 am
Forum: Vensim
Topic: Difference integration
Replies: 12
Views: 2970

Re: Difference integration

Do you mean in the model, or in the interface? Adding the rate to the accumulation in the interface was our fall-back solution, but I thought I ought to be able to this in the model itself.
by Phill
Tue Aug 17, 2021 10:34 am
Forum: Vensim
Topic: Difference integration
Replies: 12
Views: 2970

Re: Difference integration

I'm sorry to go back to this again, but using the DELAY function is throwing out my results at the end of the simulation, so it isn't a good solution. I'm using the Vensim Linux DLL with a javascript interface to present a model of ticket sales for a event, influenced by price, price sensitivity and...
by Phill
Tue Aug 17, 2021 9:11 am
Forum: Vensim
Topic: Difference integration
Replies: 12
Views: 2970

Re: Difference integration

Yes, that makes sense and helps a lot, thank you.
by Phill
Tue Aug 17, 2021 9:02 am
Forum: Vensim
Topic: Difference integration
Replies: 12
Views: 2970

Re: Difference integration

OK, thank you for your help, I did not understand that difference between Simulate and Game modes. I've set a second rate variable with a DELAY FIXED of one time step and that gives me outputs I can display that are in line with the level outputs per time step.
by Phill
Tue Aug 17, 2021 8:14 am
Forum: Vensim
Topic: Difference integration
Replies: 12
Views: 2970

Re: Difference integration

Yes, I had read the documentation. There are two things I don't understand though. 1. Why are the results different in Simulate and Game modes, even though nothing else has changed. 2. Why doesn't my basic test model show the same displacement between the rate and level results, even though it uses ...
by Phill
Tue Aug 17, 2021 8:12 am
Forum: Vensim
Topic: Difference integration
Replies: 12
Views: 2970

Re: Difference integration

I ran my very basic test model in Game mode, with the same model settings, using difference integration and the results show the rate inputs and level totals in the same time period,
image_2021-08-17_101147.png
image_2021-08-17_101147.png (15.38 KiB) Viewed 2966 times
by Phill
Tue Aug 17, 2021 8:04 am
Forum: Vensim
Topic: Difference integration
Replies: 12
Views: 2970

Difference integration

I'm trying to understand why there is a difference in Levels using difference integration in 'Simulate' and 'Game' modes. I have these two variables set as a rate and a level, image_2021-08-17_095606.png If I run the model with the 'Simulate' command, I get these results, Simulate.PNG And if I run t...
by Phill
Mon Aug 09, 2021 9:03 am
Forum: Vensim
Topic: Subscripts in GAME mode in new sketch interface
Replies: 1
Views: 1062

Subscripts in GAME mode in new sketch interface

Hello, I have a model with several subscripted variables in GAME mode. In V9, set to the old sketch mode, these variables work as usual when the model is run, showing a panel to edit the variable for each subscript element. But if I change to the new sketch mode, only the first subscript element is ...
by Phill
Thu Aug 27, 2020 9:38 am
Forum: Vensim
Topic: Vensim hangs when switching to Text view
Replies: 8
Views: 2941

Re: Vensim hangs when switching to Text view

I have the fix and everything is working properly now. Thanks very much for your help.

Phill
by Phill
Mon Aug 24, 2020 8:35 am
Forum: Vensim
Topic: Vensim hangs when switching to Text view
Replies: 8
Views: 2941

Re: Vensim hangs when switching to Text view

I am using the x64 DSS 8.1 version on a new Windows 10 desktop PC and an older Windows 10 laptop. Both machines give the same syntax error and I found this morning that the 'ALLOCATE BY PRIORITY' file from the Vensim Function examples folder gives exactly the same error, again on both machines. The ...