Cerf

Latest version: v2.3.2

Safety actively analyzes 623860 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

2.3.2

- Use tempdir instead of named temp file for compatability with Windows paths

2.3.1

- Fix bug in which edge cases for coordinates that did not match for rounding approach. Now use spatial approach.

2.3

- Added feature to initialize power plant locations from coordinates instead of index which was only available when inheriting previous cerf output.

- Updated the minimum Python version for the package and actions to 3.9 per dependency requirement.

2.2.1

- Changed docs to thousands of km for interconnection cost variables https://github.com/IMMM-SFA/cerf/pull/92
- Reporting incorrect operation costs. There will be no effect to the siting result, but will influence operating cost reporting in the output. https://github.com/IMMM-SFA/cerf/pull/91

2.2.0

New parameter enabled named `operational_life_yrs` and is read in through the configuration file after lifetime.

**Description**: A separate parameter to allow for early retirement of power plants (i.e., not operating to their full expected life) and is set as the number of years after siting that the plant gets retired. This can account for expectations that some technologies will be forced to retire early in a future year.

This parameter will replace lifetime in determining future retirement within CERF. Lifetime will still be used to calculate other variables.

2.1.1

**Purpose:**
States rasters were assumed to have a nodata value of 126 which gets filled by 0 upon converting the substation vector data to a raster using the states raster as a template. However, if a valid value were to be 126, it would get nullified. This fix modifies the nodata value in the template states raster to -np.nan to ensure that no real value will be masked when filling with 0.

**Additional:**
- The code was looking for a key that no longer exists when building the _rval_ variable. The key was updated to reflect variable name changes that had happened previously.
- Added raising an error if the min_volt field is missing in the provided substation data

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.