badonhill-io / mars-censere

A framework for numerical simulations of human settlement of Mars
BSD 4-Clause "Original" or "Old" License
0 stars 2 forks source link

Add modelling of physical resources #2

Open nhi-vanye opened 10 months ago

nhi-vanye commented 10 months ago

Humans need oxygen, water, power and living accommodation (barracks maybe okay for singles, but need separate for families)

Generation 1 accommodation will likely be highly communal based (shared cooking, bathing and lounge spaces) and will be modular to allow repurposing

Additional modelling will be needed to ensure the correct balance of skills between settlers in order to construct and maintain these vital assets

We need to ensure there is enough oxygen, water and power working (with spare capacity) before the next mission launches.

Need multiples for safety - look at ISS for benchmarks

Equipment breaks - model that as a reduction in resource generation for some period of time

Need both generation and storage

We need to be able to handle callbacks in “negative” time, I.e. time before first landing.

i.e. if the first humans land on day 1, we need to have scheduled supply missions to arrive before then (probably at least twice travel time before to allow go/no go decisions on initial settlement mission).

but this extra time allows for reduction in initial “reservoir” since daily generation will be running for years before being drawn down by consumption

modelling it correctly from start means we won’t have to special case failures before and after settlers arrive.

current thoughts on modeling: a Common base class to handle initial reservoir, daily generation, daily consumption, maintenance windows, unscheduled outage. Daily values may depend on number of humans present (not the same as settlers- https://github.com/BadonHill/mars-censere/issues/8) or other resources (I.e. power consumption is dependent on construction equipment present)

Stage 1 resources modeled

power fuel for return mission Oxygen Carbon dioxide Water Calories stage 2:

medical supplies Non-human life forms. As the community develops, people will want pets. Some are obviously a no go (horses), but mice/rats for science labs, and cats, dogs, fish, iguanas seem viable with minimal resource consumption. stage 3:

Individual Equipment I.e. kitchen/food prep (cookers, fridge freezer) computers construction science/lab/medical overtime we can subclass calories to handle individual crops/foods and subclass water to separately handle clean and gray/black

Base class also needs to include the concept on irregular one-off consumption.

for example major equipment failure destroys reservoir, or return to earth mission requires, fuel, water, oxygen

nhi-vanye commented 9 months ago

While the framework has been completed, keep this open to make creating follow-on issues easier...