This package is meant to be used with SMS++. In particular, it shall be cloned in a parent folder that condains the compiled smspp-project
as discussed in the installation of SMS++ or create it.
To use this repo you shall:
- Select the parent folder
~/parent_folder/
where you have a compiled version of smspp-project in~/parent_folder/smspp-project
. If you don't have a compiled version of SMS++, please compile it in~/parent_folder/smspp-project
, otherwise these code cannot be used. - Open a terminal window in such folder
~/parent_folder/
- Clone this repo in the parent folder
~/parent_folder$ git clone https://github.com/SPSUnipi/SMSpp_PyPSA
- Create the conda environment to execute the environment
~/parent_folder$ cd SMSpp_PyPSA ~/parent_folder/SMSpp_PyPSA$ conda env create -f environment.yml
The package contains the following folders:
data
: contains the data used in the examples, both for the SMS++ models and PyPSA.notebooks
: contains sample notebooks to run sample examples. In particular:SMSpp_LDS_launcher.ipynb
is a notebook that runs the Lagrangian Dual Solver tool of SMS++ to solve sample test casesSMSpp_ucblocksolver_launcher.ipynb
is a notebook that runs the UC Block Solver tool of PyPSA to solve unit commitment test casesSMSpp_investmentsolver_launcher.ipynb
is a notebook that runs investment block test casesSMSpp_netcdf_builder_dispatch.ipynb
is an experimental notebook that builds a netcdf file for the dispatch models starting from sample PyPSA modelsSMSpp_netcdf_builder_investment.ipynb
is an experimental notebook that builds a netcdf file for capacity-expansion models starting from sample PyPSA models