Search found 3811 matches

by tomfid
Wed Aug 10, 2016 2:53 pm
Forum: Vensim
Topic: Example of Vensim external function library in .NET
Replies: 5
Views: 2798

Re: Example of Vensim external function library in .NET

Understood. Presumably there's a way to wrap C# for calling from C, but I don't know it. Writing small numerical modules in C is pretty straightforward - much easier than doing and performance will likely be better than with an extra layer and .net.
by tomfid
Wed Aug 10, 2016 2:32 pm
Forum: Vensim
Topic: how to make vensim update get xls constants?
Replies: 12
Views: 6022

Re: how to make vensim update get xls constants?

This is a Mac limitation. GET XLS uses GET DIRECT on the Mac, so the file has to be saved for changes to propagate. On Win GET XLS passes live values.
by tomfid
Tue Aug 09, 2016 7:02 pm
Forum: Ventity
Topic: Videos
Replies: 3
Views: 9793

Videos

We've recently posted quite a few videos that introduce Ventity and work up to fairly complex models with dynamic creation of entities, cohorts and agents. See the links at http://ventity.biz/category/video/
by tomfid
Tue Aug 09, 2016 4:26 pm
Forum: Vensim
Topic: Returning time value for a certain variable value ?
Replies: 6
Views: 3402

Re: Returning time value for a certain variable value ?

If you don't include the :NOT: statement, the SAMPLE will update every time the condition is true, so you get the time of the most recent event, not the time of the first event. The logic is essentially the same as in the stock-flow version of the model that I posted. Incidentally, Vensim uses C-sty...
by tomfid
Tue Aug 09, 2016 2:15 pm
Forum: Vensim
Topic: more than 6 runs in one graph?
Replies: 5
Views: 2956

Re: more than 6 runs in one graph?

In the Control Panel custom Graph tab, Save As... to create a .vgd. Then you can edit via File>Edit..., or using an external editor like Notepad++.

The file format is here: https://www.vensim.com/documentation/23980.htm
by tomfid
Tue Aug 09, 2016 2:11 pm
Forum: Vensim
Topic: VensimPLE+
Replies: 2
Views: 1793

Re: VensimPLE+

Here's a feature comparison:
http://vensim.com/comparison/

Some kinds of simple games can be built even in PLE, using Synthesim in ordinary simulations. PLE+ has gaming mode (intermittent decisions throughout the simulation), but you need DSS for the Venapp application builder and .dll.
by tomfid
Tue Aug 09, 2016 1:48 pm
Forum: Vensim
Topic: "Not able to analyze model" in status bar: can't switch model views
Replies: 8
Views: 4251

Re: "Not able to analyze model" in status bar: can't switch model views

Normally, no - the headers rarely change. However, there have been a few changes, so if your library is old enough, it would need recompiling. You should get a warning about it at startup.
by tomfid
Tue Aug 09, 2016 1:59 am
Forum: Vensim
Topic: "Not able to analyze model" in status bar: can't switch model views
Replies: 8
Views: 4251

Re: "Not able to analyze model" in status bar: can't switch model views

It looks like you're using an external function - check that you have the proper library specified in Tools>Options>Startup.
by tomfid
Mon Aug 08, 2016 10:35 pm
Forum: Vensim
Topic: Returning time value for a certain variable value ?
Replies: 6
Views: 3402

Re: Returning time value for a certain variable value ?

See the third example in the SAMPLE IF TRUE help:
https://www.vensim.com/documentation/in ... f_true.htm

The key is to make the condition for updating the sample contingent on:
(a) input>0
(b) sample not yet taken
by tomfid
Mon Aug 08, 2016 9:33 pm
Forum: Ventity
Topic: ISDC workshop models & video
Replies: 0
Views: 4972

ISDC workshop models & video

We've just posted a series of videos that cover most of the material presented in our workshop at the System Dynamics conference:
http://vensim.com/ventity-introduction- ... on-models/
by tomfid
Mon Aug 08, 2016 7:18 pm
Forum: Vensim
Topic: Example of Vensim external function library in .NET
Replies: 5
Views: 2798

Re: Example of Vensim external function library in .NET

Sorry - misread - was thinking dll, not xfn.

What are you trying to do?
by tomfid
Mon Aug 08, 2016 7:17 pm
Forum: Vensim
Topic: Returning time value for a certain variable value ?
Replies: 6
Views: 3402

Re: Returning time value for a certain variable value ?

SAMPLE IF TRUE solves this problem for advanced versions - I can't remember if it's available in PLE+, but I don't think so.

However, you can use a stock to keep track of times. Something like:
event time.mdl
(3.29 KiB) Downloaded 218 times
by tomfid
Mon Aug 08, 2016 6:02 pm
Forum: Vensim
Topic: Example of Vensim external function library in .NET
Replies: 5
Views: 2798

Re: Example of Vensim external function library in .NET

Look in C:\Users\Public\Vensim\dll - there are csharp and vb.net examples.
by tomfid
Mon Aug 08, 2016 4:27 pm
Forum: Vensim
Topic: Vensim for ipad
Replies: 1
Views: 2267

Re: Vensim for ipad

There isn't a Vensim application for iPads. There is an iOS library, providing the same API as the Vensim .dll, that can be used to run Vensim models on an iOS device. It doesn't have an interface, so you'd need to develop your own graphical wrapper for it. Contact us at vensim@vensim.com for licens...
by tomfid
Mon Aug 08, 2016 3:04 pm
Forum: Vensim
Topic: more than 6 runs in one graph?
Replies: 5
Views: 2956

Re: more than 6 runs in one graph?

I think it works if you edit the .vgd manually, but I haven't tried it for a while. Do you need >6 for multiple variables, or just 1?
by tomfid
Mon Aug 08, 2016 3:03 pm
Forum: Vensim
Topic: System dynamics in Agile. Problem with work transfer
Replies: 3
Views: 2137

Re: System dynamics in Agile. Problem with work transfer

I think you're on the right track. A few suggestions: You really ought to use and check units. For example, currently Release Planning Work Generation=Release Size*Product Backlog Units: **undefined** Presumably backlog and release size have units of tasks, so this would have units of tasks*tasks, w...
by tomfid
Sun Aug 07, 2016 4:06 pm
Forum: Ventity
Topic: July - Ventity beta 1198 available
Replies: 6
Views: 5974

Re: July - Ventity beta 1198 available

It's fixed.
by tomfid
Sun Aug 07, 2016 2:32 am
Forum: Ventity
Topic: July - Ventity beta 1198 available
Replies: 6
Views: 5974

Re: July - Ventity beta 1198 available

Right you are - we'll fix it asap.
by tomfid
Sat Aug 06, 2016 9:53 pm
Forum: Vensim
Topic: Loading two Vensim models at once with the DLL in separate threads
Replies: 2
Views: 2268

Re: Loading two Vensim models at once with the DLL in separate threads

This is only available in the multicontext .dll and Linux shared library, which are designed for high-throughput server applications like Forio. Contact us at vensim@vensim.com if you're interested in licensing.
by tomfid
Sat Aug 06, 2016 9:50 pm
Forum: Ventity
Topic: July - Ventity beta 1198 available
Replies: 6
Views: 5974

Re: June - Ventity beta 1123 available

We take down the old versions - you need to visit http://vensim.com/ventity.html again for a fresh copy.
by tomfid
Sat Aug 06, 2016 4:02 pm
Forum: Vensim
Topic: How can I use Vensim DLL in Python, Linux?
Replies: 8
Views: 7142

Re: How can I use Vensim DLL in Python, Linux?

I don't know of anyone who's tried, but if you have Vensim running OK in WINE, the .dll should work too, so it might be worth a try.
by tomfid
Wed Aug 03, 2016 2:22 pm
Forum: Vensim
Topic: graphs won't insert in Word
Replies: 2
Views: 1552

Re: graphs won't insert in Word

Can you post a screenshot or Word sample of the problem? What happens if you paste to the end, then move the image within Word?