Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a function that generates missing csv files for otoole #86

Open
trevorb1 opened this issue Dec 18, 2021 · 2 comments
Open

Add a function that generates missing csv files for otoole #86

trevorb1 opened this issue Dec 18, 2021 · 2 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@trevorb1
Copy link
Member

If we delete all the csvs then rerun the workflow, we get errors because we dont create all csvs (ie. Conversionlh.csv, AccumulatedAnnualDemand.csv, ...). In the snakefile, lets create a function that will generate all of these missing files, that way we can have a fully reproducible workflow though snakemake. To generate the missing files, we can compare to the file list in simplicity.

A very similar thing is done in the osemosys global workflow here

@trevorb1 trevorb1 added bug Something isn't working enhancement New feature or request labels Dec 18, 2021
@trevorb1
Copy link
Member Author

Note this issue when implementing this functionality.

@trevorb1
Copy link
Member Author

trevorb1 commented Feb 5, 2022

Closely linked to issue #85. These are all the missing files...

AnnualExogenousEmission.csv
DAILYTIMEBRACKET.csv
DaySplit.csv
TIMESLICE.csv
REMinProductionTarget.csv
AnnualEmissionLimit.csv
TotalAnnualMinCapacity.csv
DepreciationMethod.csv
MODE_OF_OPERATION.csv
RETagFuel.csv
TotalTechnologyAnnualActivityUpperLimit.csv
YearSplit.csv
AccumulatedAnnualDemand.csv
DiscountRate.csv
DaysInDayType.csv
TotalTechnologyModelPeriodActivityUpperLimit.csv
Conversionls.csv
TotalTechnologyModelPeriodActivityLowerLimit.csv
DiscountRateStorage.csv
TradeRoute.csv
StorageMaxChargeRate.csv
ModelPeriodExogenousEmission.csv
MinStorageCharge.csv
TotalTechnologyAnnualActivityLowerLimit.csv
Conversionld.csv
CapacityOfOneTechnologyUnit.csv
SEASON.csv
StorageMaxDischargeRate.csv
ackage.json
Conversionlh.csv
default_values.csv
ResidualStorageCapacity.csv
TotalAnnualMinCapacityInvestment.csv
ModelPeriodEmissionLimit.csv
DAYTYPE.csv
TotalAnnualMaxCapacityInvestment.csv
StorageLevelStart.csv

@Kiel-SFU Kiel-SFU removed their assignment Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants