Getting a "Build False" when running m

m = MimiFUND.get_model()

I run this line and get
Built: false

It seems to prevent me from going any further.

Thanks

Hi @charmeu thanks for posting! A get_model function will generally return an un-run model, which is not Built because it will be built at runtime. This model type holds a ModelDefinition, but no ModelInstance, since it has not yet been run, so certain functionality is not yet available until you run the model.

m = MimiFUND.get_model()

will obtain model m, and

run(m)

will run the model.

Hi Irennels,

Should I be getting this response?

Mimi.Model

Module: Mimi

Components:

ComponentId(MimiFUND.scenariouncertainty)

ComponentId(MimiFUND.population)

ComponentId(MimiFUND.geography)

ComponentId(MimiFUND.socioeconomic)

ComponentId(MimiFUND.emissions)

ComponentId(MimiFUND.climateco2cycle)

ComponentId(MimiFUND.climatech4cycle)

ComponentId(MimiFUND.climaten2ocycle)

ComponentId(MimiFUND.climatesf6cycle)

ComponentId(MimiFUND.climateforcing)

ComponentId(MimiFUND.climatedynamics)

ComponentId(MimiFUND.biodiversity)

ComponentId(MimiFUND.climateregional)

ComponentId(MimiFUND.ocean)

ComponentId(MimiFUND.impactagriculture)

ComponentId(MimiFUND.impactbiodiversity)

ComponentId(MimiFUND.impactcardiovascularrespiratory)

ComponentId(MimiFUND.impactcooling)

ComponentId(MimiFUND.impactdiarrhoea)

ComponentId(MimiFUND.impactextratropicalstorms)

ComponentId(MimiFUND.impactforests)

ComponentId(MimiFUND.impactheating)

ComponentId(MimiFUND.impactvectorbornediseases)

ComponentId(MimiFUND.impacttropicalstorms)

ComponentId(MimiFUND.vslvmorb)

ComponentId(MimiFUND.impactdeathmorbidity)

ComponentId(MimiFUND.impactwaterresources)

ComponentId(MimiFUND.impactsealevelrise)

ComponentId(MimiFUND.impactaggregation)

Built: false

The MimiFUND.get_model() function returns a Model type (or struct), in this case variable m. What you type above is a summary of the structure, as replicated by show(m), giving a little bit of information about it, which is expected.

You should be able to proceed with no problem, this is normal behavior. If you want to silence displays you may be able to use a ; semicolon after your call, especially if you are in Jupyter Notebooks, but that is just an aesthetic choice.

Refer to the README of FUND to get started: GitHub - fund-model/MimiFUND.jl: FUND - Climate Framework for Uncertainty, Negotiation and Distribution

And feel free to look at our tutorials for more detail: Home ยท Mimi.jl