Search found 6 matches

by gmelles@swin.edu.au
Thu Mar 09, 2023 10:06 pm
Forum: Vensim
Topic: Sine wave function for seasonal flue
Replies: 6
Views: 554

Re: seasonal flue stock bi-flow and MIN

In the attached mdl model (from Erik Pruyt 1806 seasonal flue) 1806 Seasonal Flu.mdl there is a biflow between two stocks of immune population and susceptible population driven by a seasonal fraction (with 1st order delay). For the seasonal bi-flow the description reads Background But not everyone i...
by gmelles@swin.edu.au
Thu Mar 09, 2023 3:13 am
Forum: Vensim
Topic: Sine wave function for seasonal flue
Replies: 6
Views: 554

Re: Sine wave function for seasonal flue

Thanks Tom
I went with 0.5+0.34*SIN((Time-4.7)/12*(2*3.14159))
I imagine it could simplify or be rearranged
by gmelles@swin.edu.au
Wed Mar 08, 2023 10:41 pm
Forum: Vensim
Topic: Sine wave function for seasonal flue
Replies: 6
Views: 554

Sine wave function for seasonal flue

I am trying to model a seasonal fluctuation for an immunity fraction The model setting in months and runs for 60 months 3rd week of January 0.16 and 3rd week of July 0.84 repeating is required I understand I should have Time as input (shadow variable) into Seasonality and 0.5-0.34xSIN(?), i.e. (Time...
by gmelles@swin.edu.au
Wed Aug 19, 2020 5:52 am
Forum: Vensim
Topic: Formula for modelling seasonality
Replies: 5
Views: 2209

Re: Formula for modelling seasonality

Thanks .. I have been correcting. v. helpful
by gmelles@swin.edu.au
Sun Aug 16, 2020 10:03 am
Forum: Vensim
Topic: Formula for modelling seasonality
Replies: 5
Views: 2209

Re: Formula for modelling seasonality

Thanks Tom
I get the idea but seem to have still screwed something up there
Cheers for any further advice on mdl below
by gmelles@swin.edu.au
Thu Aug 13, 2020 11:53 pm
Forum: Vensim
Topic: Formula for modelling seasonality
Replies: 5
Views: 2209

Formula for modelling seasonality

Hi there. I am using Erik Pruyt's Casebook to teach myself There is an exercise 14.11 on burglarity seasonality I have time as a shadow variable (setting is months as time unit) going into seasonality of burglaries (The rest of the model I have - italics is variables) The instruction is that the var...