Search found 6 matches

by fabianmirz
Saturday 22 June, 2019 - 18:18
Forum: Modeling in Pedestrian Dynamics
Topic: Problems with GlobalVar during runtime
Replies: 5
Views: 16468

Re: Problems with GlobalVar during runtime

I solved it, if anyone has similar problems: do( var([strExcelFile], vbString), Dim([excelOLE], vbOle), var([valNrScenarios], vbValue), excelOLE := 0, strExcelFile := [C:\users\s4famirz\desktop\fopra\sheet1.xlsx], {Check if file is existing, otherwise give an error} if( Not(FileExists(strExcelFile))...
by fabianmirz
Saturday 22 June, 2019 - 13:23
Forum: Modeling in Pedestrian Dynamics
Topic: Problems with GlobalVar during runtime
Replies: 5
Views: 16468

Re: Problems with GlobalVar during runtime

Hello, I tried to initialize the globalVar with a value which is extracted from an excel sheet. I found some helpful code here, but something is wrong when I try to access an excel file - the globalVar seems not to be initialized after running this code during the start of PD. What is the best way t...
by fabianmirz
Thursday 23 May, 2019 - 17:46
Forum: Modeling in Pedestrian Dynamics
Topic: Make Polylines accessible for Agents
Replies: 2
Views: 12148

Re: Make Polylines accessible for Agents

Hi Ignasi,

thank you very much for your fast response, this solved my problem.

best regards
Fabian
by fabianmirz
Thursday 23 May, 2019 - 16:03
Forum: Modeling in Pedestrian Dynamics
Topic: Make Polylines accessible for Agents
Replies: 2
Views: 12148

Make Polylines accessible for Agents

Hi, I imported a simulation model with the CAD import. Is there an option to add doors or passages to a wall, which is represented by a polyline? The imported model consists of a big polyline, which represents a building. I want to let agents pass walls, but Passageway, Openings, and Walkable areas ...
by fabianmirz
Thursday 07 March, 2019 - 15:35
Forum: Modeling in Pedestrian Dynamics
Topic: Problems with GlobalVar during runtime
Replies: 5
Views: 16468

Re: Problems with GlobalVar during runtime

Hi Marlies,

many thanks for your help, this solved my problem.

best regards
Fabian
by fabianmirz
Thursday 07 March, 2019 - 13:41
Forum: Modeling in Pedestrian Dynamics
Topic: Problems with GlobalVar during runtime
Replies: 5
Views: 16468

Problems with GlobalVar during runtime

Hi, i am working on a model where agents are send to a waiting location and when a pre-definded number of agents are located at the waiting location, some will be sent back to an entry_exit location. Based on a GlobalVar [globalAgentsFP], the Agent Generator should sent a different number of agents ...