Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
antares_xpansion.yearly_weight_writer.YearlyWeightWriter Class Reference

Public Member Functions

 __init__ (self, Path xpansion_output_dir, Path zipped_output_path)
 
 output_dir (self)
 
 create_weight_file (self, List[float] weight_list, str file_name, active_years)
 

Public Attributes

 MPS_DIR
 
 zipped_output_path
 
 xpansion_output_dir
 
 file_content
 
 output_dir
 

Protected Member Functions

 _add_mps_lines_with_weights_to_content (self, weight_list, active_years)
 
 _add_mps_file_to_output_file_content (self, file_name, weight_list, active_years)
 
 _add_last_line_to_content (self, weight_list)
 
 _write_content_to_file (self, file_name)
 

Static Protected Member Functions

 _get_year_index_from_name (file_name)
 
bool _file_should_be_added (file_name)
 

The documentation for this class was generated from the following file: