Repast / repast.simphony

Git repository for Repast Simphony development
repast.github.io
90 stars 21 forks source link

Document setting tick units #80

Open etatara opened 1 year ago

etatara commented 1 year ago

The RS GUI can show the tick value in different time units. We currently only document this via the Context XML loader mechanism, but can also be done via a ContextBuilder implementation via:

Quantity<?> x = Quantities.getQuantity(1, tech.units.indriya.unit.Units.DAY);
RunEnvironment.getInstance().getCurrentSchedule().setTimeQuantity(x);

Provide a short blurb in the user guide, FAQ, and one of the demo models.