Search found 24 matches

by Ashish_Kumar
Tue Jul 08, 2025 6:20 am
Forum: Vensim
Topic: Stock behaviour difficult to understand
Replies: 5
Views: 2899

Re: Stock behaviour difficult to understand

Thanks. For the benefit of others, I found this useful when I went through it last year: https://www.youtube.com/watch?v=6pvJhKA0BmU In this case, part of the model is discrete (I also have another post about the same model; I thought the two topics were not related:)). I do need the 7 patients (or ...
by Ashish_Kumar
Tue Jul 08, 2025 4:54 am
Forum: Vensim
Topic: Stock behaviour difficult to understand
Replies: 5
Views: 2899

Re: Stock behaviour difficult to understand

Noted, thanks. The problem doesn't change when I see results every step, though. The inflow, stock, and outflow don't tally. What I am trying to do is model inflow as a function of patients transferred to community hospital from acute hospital, constraining inflow to be an integer. Outflow is calcul...
by Ashish_Kumar
Tue Jul 08, 2025 4:35 am
Forum: Vensim
Topic: Modelling small discrete flows
Replies: 9
Views: 15500

Re: Modelling small discrete flows

Thank you. This is very useful. In this round of modelling, I will implement the first option you describe: transfers are based on lambda*TIME STEP and stock of patients is integral of transfers/TIME STEP. (BTW I do get fractional stocks, which would have been a bit problematic while doing validatio...
by Ashish_Kumar
Mon Jul 07, 2025 3:08 pm
Forum: Vensim
Topic: Stock behaviour difficult to understand
Replies: 5
Views: 2899

Stock behaviour difficult to understand

I attach my WIP model, data file (synthetic data), and a results file. In the "CH" view, top right, the stock "CH Patients" has only one inflow, "CH Admissions by case mix and age group", and one outflow, "CH Discharges". As shown in the results file, for the ...
by Ashish_Kumar
Mon Jul 07, 2025 2:35 pm
Forum: Vensim
Topic: Modelling small discrete flows
Replies: 9
Views: 15500

Re: Modelling small discrete flows

Thank you! Based on your pointers, I did something similar. I used RANDOM POISSON, with lambda set equal to an expected (fractional) value based on the transfer probability. The results are sentitive to the maximum value, which I am scaling to match actual data. This is *very* useful -- we have cont...
by Ashish_Kumar
Fri Jul 04, 2025 1:36 am
Forum: Vensim
Topic: Modelling small discrete flows
Replies: 9
Views: 15500

Re: Modelling small discrete flows

Thanks for the pointers. I attach the data file, with synthetic values. The CH transfers have to be linked to AH patients admissions. Intuitively, AH flows can be continuous because volumes are large, but CH flows cannot. This is a really early version. I do plan to use SDM-Doc after I have a first ...
by Ashish_Kumar
Thu Jul 03, 2025 4:24 pm
Forum: Vensim
Topic: Modelling small discrete flows
Replies: 9
Views: 15500

Modelling small discrete flows

I attach a first-cut model of Acute Hospital (AH) and Community Hospital (CH) utilisation. The unit of time is a day in this model. Since ~4% of AH patients transfer to CHs, modelling the flows by expressing them in the form that I have in the model does not produce any CH transfers. I was consideri...
by Ashish_Kumar
Sat Feb 15, 2025 1:25 pm
Forum: Vensim
Topic: Error in GET XLS CONSTANTS
Replies: 2
Views: 4444

Re: Error in GET XLS CONSTANTS

Yes, thanks!
by Ashish_Kumar
Fri Feb 14, 2025 2:24 pm
Forum: Vensim
Topic: Error in GET XLS CONSTANTS
Replies: 2
Views: 4444

Error in GET XLS CONSTANTS

I attach a model that I have just started working on and the spreadsheet for inputs. I am using GET XLS CONSTANTS. I can read from the "1. Pop" tab of the spreadsheet but not from the "2. AH" tab. I get the error "Failed to connect to Excel...", for example in the varia...
by Ashish_Kumar
Thu Nov 30, 2023 2:18 am
Forum: System Dynamics Discussion
Topic: Long-term hospital capacity planning model
Replies: 2
Views: 29970

Re: Long-term hospital capacity planning model

Hi JJ,

Thanks for sharing your advice. True, looking that far ahead is challenging.

Best regards,
Ashish
by Ashish_Kumar
Wed Nov 15, 2023 1:33 am
Forum: Vensim
Topic: Replacing Tabbed Arrays to avoid "hard-coding"
Replies: 2
Views: 2943

Re: Replacing Tabbed Arrays to avoid "hard-coding"

Thank you. That works fine.
by Ashish_Kumar
Tue Nov 14, 2023 6:29 am
Forum: Vensim
Topic: Replacing Tabbed Arrays to avoid "hard-coding"
Replies: 2
Views: 2943

Replacing Tabbed Arrays to avoid "hard-coding"

I have a working model which uses Tabbed Arrays. I've pasted an example below. I would like to revise the model to read data from an Excel file instead. The variable being defined does not vary with time; it depends on two subscript variables, "Age" and "Gender". I tried using GE...
by Ashish_Kumar
Wed Nov 01, 2023 1:05 pm
Forum: System Dynamics Discussion
Topic: Long-term hospital capacity planning model
Replies: 2
Views: 29970

Long-term hospital capacity planning model

Hello, My colleagues and I are defining a long-term general hospital capacity planning model. It will have a time horizon of about 70 years, and will essentially model population ageing and its impact on needs for services in different hospital sub-systems (emergency department, inpatient, outpatien...
by Ashish_Kumar
Mon Oct 16, 2023 12:11 pm
Forum: Vensim
Topic: Exporting CLD for presentation
Replies: 11
Views: 6922

Re: Exporting CLD for presentation

I just opened the SVG file by double clicking on it, and it opened in a browser, where the top and bottom were truncated (in both Chrome and Edge). It does work with Inkscape.

Thanks.
by Ashish_Kumar
Wed Oct 11, 2023 7:54 am
Forum: Vensim
Topic: Exporting CLD for presentation
Replies: 11
Views: 6922

Re: Exporting CLD for presentation

Thanks. Which mail should I write to?
by Ashish_Kumar
Tue Oct 10, 2023 2:14 am
Forum: Vensim
Topic: Exporting CLD for presentation
Replies: 11
Views: 6922

Re: Exporting CLD for presentation

The new version does solve the problem of missing arrowheads in the loop. However, it wasn't clear to me how one can control the zoom get an svg file that shows the complete picture. The solution I am using now is as follows: - Add blank text boxes on the top right and bottom left, leaving gaps betw...
by Ashish_Kumar
Mon Sep 25, 2023 3:19 am
Forum: Vensim
Topic: Exporting CLD for presentation
Replies: 11
Views: 6922

Re: Exporting CLD for presentation

Thank you.

Following up on this, is there a way to get the print in a single PDF page? That would also help to present the CLD stage-by-stage.
by Ashish_Kumar
Mon Sep 18, 2023 4:29 am
Forum: Vensim
Topic: Exporting CLD for presentation
Replies: 11
Views: 6922

Exporting CLD for presentation

Hi, I would like to build up my CLD in stages to show it in a presentation and in document. Using View->Export as SVG gives me files in which the loop arrowheads are missing (please see attachment, R1, for example). When I print to pdf, the CLD is spread across multiple (two) pages -- I don't see an...
by Ashish_Kumar
Wed Apr 26, 2023 1:49 am
Forum: Vensim
Topic: Screen display
Replies: 4
Views: 3886

Re: Screen display

Thank you! I realise now it is much easier to just hide elements. Strangely, setting the zoom to a fixed % does not work.
by Ashish_Kumar
Fri Apr 21, 2023 10:49 am
Forum: Vensim
Topic: Screen display
Replies: 4
Views: 3886

Screen display

I realise this is a basic question -- I did look in help and search the forum, but I'm probably missing something obvious. I'm using Vensim DSS 8.0.9. I need to present a CLD loop by loop, inserting snips into a presentation. I would like to take the final CLD and delete some variables and links, so...
by Ashish_Kumar
Wed Jul 14, 2021 1:31 am
Forum: Vensim
Topic: "Formatting..." message in View As Text mode
Replies: 4
Views: 3540

Re: "Formatting..." message in View As Text mode

Thank you for the reply. Pardon my ignorance -- may I know how to email the Administrator?
by Ashish_Kumar
Tue Jul 13, 2021 9:22 am
Forum: Vensim
Topic: "Formatting..." message in View As Text mode
Replies: 4
Views: 3540

"Formatting..." message in View As Text mode

I have a large number of tabbed arrays and other definitions that are much easier to copy-paste in the View -> As Text mode rather than in Sketch mode. Making the changes in the text editor has worked well most of the time, but quite often I get a message "Formatting..." (see attachment). ...
by Ashish_Kumar
Wed Apr 07, 2021 10:06 am
Forum: Vensim
Topic: Set of initial values for a level with subscripts
Replies: 3
Views: 4358

Re: Set of initial values for a level with subscripts

Thank you for those helpful replies. I am able to get the model to work.
by Ashish_Kumar
Tue Apr 06, 2021 1:20 pm
Forum: Vensim
Topic: Set of initial values for a level with subscripts
Replies: 3
Views: 4358

Set of initial values for a level with subscripts

Hi, I am working on a model of a hospital Emergency Department (ED). The number of patients in the ED is given by Patients in ED[Priority]= INTEG ( Transportation rate to ED[Priority]+"Walk-in and other non-995 cases"-ED Treatment Rate [Priority], 5000) Units: Case ************************...