Skip to content

[FEATURE] Rename specific_share_to_other_effects_... to specific_share_from_effect #305

@FBumann

Description

@FBumann

Prerequisite Checks

  • I have searched the existing issues and confirmed this feature doesn't already exist.

  • I have checked the documentation to ensure this feature isn't already available.

Is your feature request related to a problem?

I find it more intuitive to specify where a share is coming from, rather than where it's going. This also makes it more present when multiple shares go into the same effect.
ALso, the mathematical model and the solution does also match this architecture better.

Describe the solution you'd like

costs = fx.Effect(
    'costs',
    '€',
    'Kosten',
    is_standard=True,
    is_objective=True,
    specific_share_from_operation={
        'CO2': 0.2, 
        'area': 20
    },
)
co2 = fx.Effect('CO2', 'kg', 'CO2_e-Emissionen')
area = fx.Effect('area', 'm2', 'Fläche', maximum_total=3.5e3)

Energy System Use Case

Desired Code Example (optional)

costs = fx.Effect(
    'costs',
    '€',
    'Kosten',
    is_standard=True,
    is_objective=True,
    specific_share_from_operation={
        'CO2': 0.2, 
        'area': 20
    },
)
co2 = fx.Effect('CO2', 'kg', 'CO2_e-Emissionen')
area = fx.Effect('area', 'm2', 'Fläche', maximum_total=3.5e3)

Component Category (if applicable)

None

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions