Align fgen with domain model

The problem

The names used in fgen don't align with the domain model and what we're actually doing.

Definition of "done"

  • #51 (closed)
  • remove the use of the name calculator entirely. These things are just objects (sometimes they're models, other times they're other things, but calculator was the wrong name to use)
  • CalculatorDefinition -> DerivedTypeDefinition
  • LinkDefinition -> ModuleDependencyDefinition
  • fgen.models -> fgen.data_model to make clear that this is fgen's data model (to avoid confusion with 'model', which generally refers to a physical model in what we do)
  • instance -> model generally e.g.
    • base finalizable.model_index -> base finalizable.instance_index
    • model_avail -> instance_avail
    • calculator_manager -> instance_manager etc.
    • model -> instance in fgen_runtime exceptions

Additional context

First draft happened in !63 (closed)

Edited by Zebedee Nicholls