Hi Andrew,
AnyLogic architecture is suited for modeling not for programming. You'd better to define the model with graphical
diagram using graphical elements of AnyLogic modeling language. Java code is usually used for the implementation of some
complex actions, decision logic etc. So Java code is a way to enhance your model with additional features, and not the
instrument for general modeling purposes. Main.java is read only because it is auto-generated each time you push
run-button. It does not means that the code view is useless, because sometimes observing sources it is the easiest way
to find possible mistake...
BR, Sergey

