-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Implement data validation #461
Comments
We just discussed adding arguments or options to define the use case instead of relying on the existence or not of specific files. I'm not sure how to translate that into a bullet point. I think it still needs some definition of the main use cases. |
Yes, depending on how many switches there are, this might be a file. But for now we want to have it as arguments to a function call, with defaults for the "regular" way of running and only specifying to change from the default. This specification has two advantages:
Dunno if that makes it more or less clear. |
Create a data validation function to call various validation functions. Call this data validation after initialising empty tables and before creating the internal tables inside the create_internal_tables function. Starting point for #461
Create a data validation function to call various validation functions. Call this data validation after initialising empty tables and before creating the internal tables inside the create_internal_tables function. Starting point for #461
Create a data validation function to call various validation functions. Call this data validation after initialising empty tables and before creating the internal tables inside the create_internal_tables function. Starting point for #461
Description
Please edit this description with new bullets as you think of them:
false
(non-seasonal storage).initial_storage_level
, it must be between the asset's max/min limits. Also, we need to check that if there are max/min profiles, then you must also check that the initial value is between those values.unit_commitment
of an asset is set totrue
, then theunit_commitment_method
and theunits_on_cost
parameters cannot bemissing
use_binary_storage_method
different frommissing
then the asset must have aninvestment_limit
greater than zeroinvestable
= false theninitial_units
> 0 => and only for the ones thatyear
=commision_year
Consider the defaults file Diego has drafted here in function
get_default_values
:https://github.com/TulipaEnergy/Tulipa-OBZ-CaseStudy/blob/main/functions.jl
Related Issues
The text was updated successfully, but these errors were encountered: