Skip to content

additional scalings and new parser constructor#105

Open
jucordero wants to merge 1 commit into
FixOurFood:ffc_modelfrom
jucordero:ffc_yaml_scale
Open

additional scalings and new parser constructor#105
jucordero wants to merge 1 commit into
FixOurFood:ffc_modelfrom
jucordero:ffc_yaml_scale

Conversation

@jucordero

Copy link
Copy Markdown
Collaborator

Description

This pull request introduces new functions which can be used as temporal profiles for the different scaling models in agrifoodpy

It also registers these scaling functions with the custom !scale tag to be used in yaml configuration files.
e.g.

nodes:
  - function: agrifoodpy.utils.nodes.write_to_datablock
    name: Write a linear profile to the datablock
    params:
      key: linear_scale
      value: !scale.linear_scale [2025, 2030, 2040, 2050, 1, 1.5]

Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant