pvcompare.plots.plot_psi_matrix

pvcompare.plots.plot_psi_matrix(scenario_dict, variable_name, outputs_directory, basis_value_lcoe, basis_value_costs)[source]

Plots two matrix subplots (LCOE and total costs) over a number of scenarios.

Note that the x- and y- achses needs to be adjusted.

Parameters
  • scenario_dict (dict) – Dictionary with the scenario names that should be compared as keys and a label for the scenario as value. e.g.: {“Scenario_A1” : “si”, “Scenario_A2”: “cpv”} Notice: all scenarios you want to compare, need to include the loop-outputs for the same variable / steps. The scenario names should follow the scheme: “Scenario_A1”, “Scenario_A2”, “Scenario_B1” etc.

  • variable_name (str) – Name of the variable.

  • outputs_directory (str or None) – Path to the directory in which the plot should be saved. If None: constants.DEFAULT_OUTPUTS_DIRECTORY is used. Default: None.

  • basis_value_lcoe (float) – reference value for the LCOE

  • basis_value_costs (float) – reference value for the total system costs

Returns

  • None

  • Figure (png) – Saves figure into outputs_directory.