OOP Class Library
Overview
SimEntities...
SimWorld - container for simulation run, everything exists within the context of a SimWorld instance - that is what gets persisted in save/load operations
SimPlanet (has a sun, and a moon - fractal complexity next level: multiple moons possible)
Geosphere
Atmosphere
Hydrosphere
Biosphere
Anthroposphere
SimWeather - weather systems (types, and regional cells), systems of systems)
Class components:
Identity
Properties
Behavior
Events
Interfaces
Control
SimTime
Time Tick Giver, issues time impulse events at various resolutions
AdvanceHour - core resolution (of simulated time)
AdvanceDay - derived from Hour/24
AdvanceWeek - derived from Day/7
AdvanceMonth - derived from Day/30
AdvanceQuarter - derived from Month/3
AdvanceYear - derived from Quarter/4
AdvanceDecade - derived from Year/10
AdvanceCentury - derived from Year/100
AdvanceMillenium - derived from Year/1000
Why the different resolutions?
different simulated entitities change at different rates
e.g. plate tectonics does not need to be updated hourly.
Who consumes those time events?
simulated entities - it is their impulse to effect change, via updating their inflows from the world, their internal mechanism/metabolism (like aging), and their outflows to the world, contributing to world change
Time-based Events:
sun rise
sun set
winter solstice
summer solstice
spring equinox
fall equinox
Event Durations...
unique point in time (fire once)
onset (activation), offset (deactivation) - duration
phases (with gradual onset, and gradual fading) - fuzzy duration