[Feature Request] Autohandle units for CapacityToActivity #19
Labels
Comp:Core
This issue has to do with the main bulk of the code or document. (methods, main content)
Comp:Input
This issue has to do with the input component of the code or document. (input parameters, prep)
Difficulty:2-Challenging
This issue may be complex or require specialized skills.
Priority:3-Desired
This work is important, but not urgent.
Status:1-New
No one has claimed this issue yet. It is in need of solving.
Type:Feature
New feature or feature request
Currently, users must manually supply a value for the capacity_to_acitivity of each technology. This should be handled automatically with a tool such as
Pint
.Technologies and commodities each have units specified as strings. Ideally units would be
Pint
objects that can be manipulated easily.**The capacity to activity value is understood as "the amount of a commodity that can be produced by a certain capacity in 1 year." It is not related to capacity factor, it just tells Temoa how the units shakeout."
This issue can be closed when
utils/
calledunits.py
Pint
(or similar tool) has been added to therequirements.txt
file.units.py
file has functions to convert units and return a capacity to activity.units.py
in thetests/
folder.One of the following
create_capacity_to_activity()
indb_creator.py
should be updated to automate the unit conversionOR
Technology
class should have a function that automatically calculates the C2A.The text was updated successfully, but these errors were encountered: