AnyLogic 5 Discussion

Hi I have two questions: 1) in my model the speed of a entity must be 100 Km/Hr but in a conveyor the speed is in pixels..my question is..how convert the scale of the conveyor to this units??..for me the time represents 1 second = 1 minute in the model. and 2) i must started the model at the 03:55, so in a example model of yours i found this code: static final int minute = 1; static final int hour = 60; static final int day = 86400; static int getDay() { return (int)(getTime()/day); } static int getHour() { return (int)( (getTime()) % day )/hour); } static int getMinute() { return (int)(((getTime()) % hour )/minute); } so my queestion is how initialize this code to 03:55 very thanks Matias
Hi Matias, 1. Enterprise Library is not sensible to physical units. Entities live in virtual space where there are only pixels, not meters. So you are able to define units by yourself, for instance, 1 pixel will be equal to one kilometer. 2. All models in AnyLogic 5 can start only from zero time. You may also create an accordance between time by yourself, e.g. 00:00 will be equal to 03:55. So the end of the day will be when model time will be equal to 20:05.