From 2428d037598ff3f2a88c1ae99d1851b461355ad4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 20 Apr 2026 22:05:47 +0000 Subject: [PATCH 1/3] Initial plan From 9974653a9cad61524e1a6bb9e4e53978dfef8f9c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 21 Apr 2026 00:57:23 +0000 Subject: [PATCH 2/3] Update legacy Sienna org, docs domain, and Slack workspace references Agent-Logs-Url: https://github.com/Sienna-Platform/PowerOperationsModels.jl/sessions/b6d44f87-b6ce-4692-9ac5-7f12e9473639 Co-authored-by: jd-lara <16385323+jd-lara@users.noreply.github.com> --- .claude/Sienna.md | 10 +++++----- .github/pull_request_template.md | 2 +- CONTRIBUTING.md | 2 +- Project.toml | 2 +- README.md | 14 +++++++------- docs/make.jl | 10 +++++----- docs/make_tutorials.jl | 2 +- docs/src/index.md | 12 ++++++------ docs/src/reference/developer_guidelines.md | 6 +++--- src/PowerModels/README.md | 6 +++--- src/core/network_formulations.jl | 8 ++++---- test/test_network_constructors.jl | 2 +- test/test_utils/iec_simulation_utils.jl | 2 +- 13 files changed, 39 insertions(+), 39 deletions(-) diff --git a/.claude/Sienna.md b/.claude/Sienna.md index 782f81e..7255094 100644 --- a/.claude/Sienna.md +++ b/.claude/Sienna.md @@ -61,7 +61,7 @@ Avoid returning `Union` types or abstract types. ## Code Conventions -Style guide: +Style guide: Formatter (JuliaFormatter): Use the formatter script provided in each package. @@ -77,12 +77,12 @@ Key rules: Framework: [Diataxis](https://diataxis.fr/) -Sienna guide: +Sienna guide: -Sienna guide for Diataxis-style tutorials: +Sienna guide for Diataxis-style tutorials: Format for tutorial scripts: -Sienna guide for Diataxis-style how-to's: -Sienna guide for APIs: +Sienna guide for Diataxis-style how-to's: +Sienna guide for APIs: Docstring requirements: diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 6f6b8f1..31e74e3 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,3 +1,3 @@ Thanks for opening a PR to PowerOperationsModels.jl, please take note of the following when making a PR: -Check the [contributor guidelines](https://nrel-sienna.github.io/PowerOperationsModels.jl/stable/api/developer_guidelines/) +Check the [contributor guidelines](https://sienna-platform.github.io/PowerOperationsModels.jl/stable/api/developer_guidelines/) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 82705e8..fcf35da 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing Community driven development of this package is encouraged. To maintain code quality standards, please adhere to the following guidlines when contributing: - - To get started, sign the Contributor License Agreement. + - To get started, sign the Contributor License Agreement. - Please do your best to adhere to our [coding style guide](docs/src/developer/style.md). - To submit code contributions, [fork](https://help.github.com/articles/fork-a-repo/) the repository, commit your changes, and [submit a pull request](https://help.github.com/articles/creating-a-pull-request-from-a-fork/). diff --git a/Project.toml b/Project.toml index 6d6c548..ae4e89b 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PowerOperationsModels" uuid = "bed98974-b02a-5e2f-9ee0-a103f5c450dd" version = "0.1.0" -authors = ["NREL-Sienna"] +authors = ["Sienna-Platform"] [deps] Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" diff --git a/README.md b/README.md index b589558..e0d8a50 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # PowerOperationsModels.jl -[![Main - CI](https://github.com/NREL-Sienna/PowerOperationsModels.jl/actions/workflows/main-tests.yml/badge.svg)](https://github.com/NREL-Sienna/PowerOperationsModels.jl/actions/workflows/main-tests.yml) -[![codecov](https://codecov.io/gh/NREL-Sienna/PowerOperationsModels.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/NREL-Sienna/PowerOperationsModels.jl) -[![Documentation Build](https://github.com/NREL-Sienna/PowerOperationsModels.jl/workflows/Documentation/badge.svg?)](https://nrel-sienna.github.io/PowerOperationsModels.jl/stable) -[](https://join.slack.com/t/nrel-sienna/shared_invite/zt-glam9vdu-o8A9TwZTZqqNTKHa7q3BpQ) +[![Main - CI](https://github.com/Sienna-Platform/PowerOperationsModels.jl/actions/workflows/main-tests.yml/badge.svg)](https://github.com/Sienna-Platform/PowerOperationsModels.jl/actions/workflows/main-tests.yml) +[![codecov](https://codecov.io/gh/Sienna-Platform/PowerOperationsModels.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/Sienna-Platform/PowerOperationsModels.jl) +[![Documentation Build](https://github.com/Sienna-Platform/PowerOperationsModels.jl/workflows/Documentation/badge.svg?)](https://sienna-platform.github.io/PowerOperationsModels.jl/stable) +[](https://join.slack.com/t/core-sienna/shared_invite/zt-glam9vdu-o8A9TwZTZqqNTKHa7q3BpQ) [![PowerOperationsModels.jl Downloads](https://shields.io/endpoint?url=https://pkgs.genieframework.com/api/v1/badge/PowerOperationsModels)](https://pkgs.genieframework.com?packages=PowerOperationsModels) -`PowerOperationsModels.jl` is a Julia package that contains optimization models for power system components. It is part of the NREL Sienna ecosystem for power system modeling and simulation. +`PowerOperationsModels.jl` is a Julia package that contains optimization models for power system components. It is part of the Sienna Platform ecosystem for power system modeling and simulation. ## Features @@ -17,8 +17,8 @@ ## Development -Contributions to the development and enhancement of PowerOperationsModels.jl are welcome. Please see [CONTRIBUTING.md](https://github.com/NREL-Sienna/PowerOperationsModels.jl/blob/main/CONTRIBUTING.md) for code contribution guidelines. +Contributions to the development and enhancement of PowerOperationsModels.jl are welcome. Please see [CONTRIBUTING.md](https://github.com/Sienna-Platform/PowerOperationsModels.jl/blob/main/CONTRIBUTING.md) for code contribution guidelines. ## License -PowerOperationsModels.jl is released under a BSD [license](https://github.com/NREL-Sienna/PowerOperationsModels.jl/blob/main/LICENSE). PowerOperationsModels.jl has been developed as part of the Sienna ecosystem at the U.S. Department of Energy's National Renewable Energy Laboratory ([NREL](https://www.nrel.gov/)) +PowerOperationsModels.jl is released under a BSD [license](https://github.com/Sienna-Platform/PowerOperationsModels.jl/blob/main/LICENSE). PowerOperationsModels.jl has been developed as part of the Sienna ecosystem at the U.S. Department of Energy's National Renewable Energy Laboratory ([NREL](https://www.nrel.gov/)) diff --git a/docs/make.jl b/docs/make.jl index 57efc1b..8368c47 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -4,8 +4,8 @@ using PowerOperationsModels using DocumenterInterLinks links = InterLinks( - "PowerSystems" => "https://nrel-sienna.github.io/PowerSystems.jl/stable/", - "PowerSimulations" => "https://nrel-sienna.github.io/PowerSimulations.jl/stable/", + "PowerSystems" => "https://sienna-platform.github.io/PowerSystems.jl/stable/", + "PowerSimulations" => "https://sienna-platform.github.io/PowerSimulations.jl/stable/", ) include(joinpath(@__DIR__, "make_tutorials.jl")) @@ -28,15 +28,15 @@ makedocs( format = Documenter.HTML( prettyurls = haskey(ENV, "GITHUB_ACTIONS"), size_threshold = nothing,), - sitename = "github.com/NREL-Sienna/PowerOperationsModels.jl", - authors = "NREL-Sienna", + sitename = "github.com/Sienna-Platform/PowerOperationsModels.jl", + authors = "Sienna-Platform", pages = Any[p for p in pages], draft = false, plugins = [links], ) deploydocs( - repo="github.com/NREL-Sienna/PowerOperationsModels.jl", + repo="github.com/Sienna-Platform/PowerOperationsModels.jl", target="build", branch="gh-pages", devbranch="main", diff --git a/docs/make_tutorials.jl b/docs/make_tutorials.jl index b6e3c5f..73a4fd1 100644 --- a/docs/make_tutorials.jl +++ b/docs/make_tutorials.jl @@ -59,7 +59,7 @@ end # This ensures that links generated in notebooks point to the correct # location for stable, dev, and preview builds. function _compute_docs_base_url() - base = "https://nrel-sienna.github.io/PowerOperationsModels.jl" + base = "https://sienna-platform.github.io/PowerOperationsModels.jl" current_version = get(ENV, "DOCUMENTER_CURRENT_VERSION", "") diff --git a/docs/src/index.md b/docs/src/index.md index 41d41fe..ab43c03 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -6,21 +6,21 @@ CurrentModule = PowerOperationsModels ## Overview -`PowerOperationsModels.jl` is a [`Julia`](http://www.julialang.org) package that provides optimization models for power system components including thermal generators, renewable energy sources, energy storage, HVDC systems, and loads. It is designed to work with `InfrastructureOptimizationModels.jl` infrastructure and integrates with [`PowerSystems.jl`](https://nrel-sienna.github.io/PowerSystems.jl/stable/) for power system data structures. +`PowerOperationsModels.jl` is a [`Julia`](http://www.julialang.org) package that provides optimization models for power system components including thermal generators, renewable energy sources, energy storage, HVDC systems, and loads. It is designed to work with `InfrastructureOptimizationModels.jl` infrastructure and integrates with [`PowerSystems.jl`](https://sienna-platform.github.io/PowerSystems.jl/stable/) for power system data structures. ## About `PowerOperationsModels` is part of the National Laboratory of the Rockies NLR (formerly known as NREL) -[Sienna ecosystem](https://nrel-sienna.github.io/Sienna/), an open source framework for +[Sienna ecosystem](https://sienna-platform.github.io/Sienna/), an open source framework for scheduling problems and dynamic simulations for power systems. The Sienna ecosystem can be -[found on github](https://github.com/NREL-Sienna/Sienna). It contains three applications: +[found on github](https://github.com/Sienna-Platform/Sienna). It contains three applications: - - [Sienna\Data](https://nrel-sienna.github.io/Sienna/pages/applications/sienna_data.html) enables + - [Sienna\Data](https://sienna-platform.github.io/Sienna/pages/applications/sienna_data.html) enables efficient data input, analysis, and transformation - - [Sienna\Ops](https://nrel-sienna.github.io/Sienna/pages/applications/sienna_ops.html) enables + - [Sienna\Ops](https://sienna-platform.github.io/Sienna/pages/applications/sienna_ops.html) enables enables system scheduling simulations by formulating and solving optimization problems - - [Sienna\Dyn](https://nrel-sienna.github.io/Sienna/pages/applications/sienna_dyn.html) enables + - [Sienna\Dyn](https://sienna-platform.github.io/Sienna/pages/applications/sienna_dyn.html) enables system transient analysis including small signal stability and full system dynamic simulations diff --git a/docs/src/reference/developer_guidelines.md b/docs/src/reference/developer_guidelines.md index 738e334..0f1cec4 100644 --- a/docs/src/reference/developer_guidelines.md +++ b/docs/src/reference/developer_guidelines.md @@ -1,11 +1,11 @@ # Developer Guidelines In order to contribute to `PowerSystems.jl` repository please read the following sections of -[`InfrastructureSystems.jl`](https://github.com/NREL-Sienna/InfrastructureSystems.jl) +[`InfrastructureSystems.jl`](https://github.com/Sienna-Platform/InfrastructureSystems.jl) documentation in detail: - 1. [Style Guide](https://nrel-sienna.github.io/InfrastructureSystems.jl/stable/style/) - 2. [Contributing Guidelines](https://github.com/NREL-Sienna/PowerOperationsModels.jl/blob/main/CONTRIBUTING.md) + 1. [Style Guide](https://sienna-platform.github.io/InfrastructureSystems.jl/stable/style/) + 2. [Contributing Guidelines](https://github.com/Sienna-Platform/PowerOperationsModels.jl/blob/main/CONTRIBUTING.md) Pull requests are always welcome to fix bugs or add additional modeling capabilities. diff --git a/src/PowerModels/README.md b/src/PowerModels/README.md index 5f97115..2f3c4fe 100644 --- a/src/PowerModels/README.md +++ b/src/PowerModels/README.md @@ -18,9 +18,9 @@ This submodule represents the evolution of the PowerModels.jl integration that w The following components from PowerModels.jl have been intentionally excluded from this submodule, as these capabilities are provided by other packages in the Sienna ecosystem: - - **Parsing code**: Data parsing and import functionality is handled by [PowerSystems.jl](https://github.com/NREL-Sienna/PowerSystems.jl) - - **DC power flow**: Implemented in [PowerFlows.jl](https://github.com/NREL-Sienna/PowerFlows.jl) - - **AC power flow (NLSolve)**: Implemented in [PowerFlows.jl](https://github.com/NREL-Sienna/PowerFlows.jl) + - **Parsing code**: Data parsing and import functionality is handled by [PowerSystems.jl](https://github.com/Sienna-Platform/PowerSystems.jl) + - **DC power flow**: Implemented in [PowerFlows.jl](https://github.com/Sienna-Platform/PowerFlows.jl) + - **AC power flow (NLSolve)**: Implemented in [PowerFlows.jl](https://github.com/Sienna-Platform/PowerFlows.jl) This submodule focuses exclusively on optimization-based formulations for use within the PowerOperationsModels.jl framework. diff --git a/src/core/network_formulations.jl b/src/core/network_formulations.jl index 2841456..3f18a38 100644 --- a/src/core/network_formulations.jl +++ b/src/core/network_formulations.jl @@ -6,12 +6,12 @@ abstract type AbstractPTDFModel <: AbstractDCPModel end abstract type AbstractSecurityConstrainedPTDFModel <: AbstractPTDFModel end """ -Linear active power approximation using the power transfer distribution factor [PTDF](https://nrel-sienna.github.io/PowerNetworkMatrices.jl/stable/tutorials/tutorial_PTDF_matrix/) matrix. +Linear active power approximation using the power transfer distribution factor [PTDF](https://sienna-platform.github.io/PowerNetworkMatrices.jl/stable/tutorials/tutorial_PTDF_matrix/) matrix. """ struct PTDFPowerModel <: AbstractPTDFModel end """ -Linear active power approximation using the power transfer distribution factor [PTDF](https://nrel-sienna.github.io/PowerNetworkMatrices.jl/stable/tutorials/tutorial_PTDF_matrix/) matrix and line outage distribution factors [LODF](https://nrel-sienna.github.io/PowerNetworkMatrices.jl/stable/tutorials/tutorial_LODF_matrix/) for branches outages. If exists, the rating b is considered as the branch power limit for post-contingency flows, otherwise the standard rating is considered. +Linear active power approximation using the power transfer distribution factor [PTDF](https://sienna-platform.github.io/PowerNetworkMatrices.jl/stable/tutorials/tutorial_PTDF_matrix/) matrix and line outage distribution factors [LODF](https://sienna-platform.github.io/PowerNetworkMatrices.jl/stable/tutorials/tutorial_LODF_matrix/) for branches outages. If exists, the rating b is considered as the branch power limit for post-contingency flows, otherwise the standard rating is considered. """ struct SecurityConstrainedPTDFPowerModel <: AbstractSecurityConstrainedPTDFModel end @@ -26,12 +26,12 @@ Approximation to represent inter-area flow with each area represented as a singl struct AreaBalancePowerModel <: AbstractActivePowerModel end """ -Linear active power approximation using the power transfer distribution factor [PTDF](https://nrel-sienna.github.io/PowerNetworkMatrices.jl/stable/tutorials/tutorial_PTDF_matrix/) matrix. Balancing areas as well as synchrounous regions. +Linear active power approximation using the power transfer distribution factor [PTDF](https://sienna-platform.github.io/PowerNetworkMatrices.jl/stable/tutorials/tutorial_PTDF_matrix/) matrix. Balancing areas as well as synchrounous regions. """ struct AreaPTDFPowerModel <: AbstractPTDFModel end """ -Linear active power approximation using the power transfer distribution factor [PTDF](https://nrel-sienna.github.io/PowerNetworkMatrices.jl/stable/tutorials/tutorial_PTDF_matrix/) matrix and [LODF](https://nrel-sienna.github.io/PowerNetworkMatrices.jl/stable/tutorials/tutorial_LODF_matrix/) for branches outages. Balancing areas as well as synchrounous regions. +Linear active power approximation using the power transfer distribution factor [PTDF](https://sienna-platform.github.io/PowerNetworkMatrices.jl/stable/tutorials/tutorial_PTDF_matrix/) matrix and [LODF](https://sienna-platform.github.io/PowerNetworkMatrices.jl/stable/tutorials/tutorial_LODF_matrix/) for branches outages. Balancing areas as well as synchrounous regions. """ struct SecurityConstrainedAreaPTDFPowerModel <: AbstractSecurityConstrainedPTDFModel end diff --git a/test/test_network_constructors.jl b/test/test_network_constructors.jl index 018de5c..c5341c3 100644 --- a/test/test_network_constructors.jl +++ b/test/test_network_constructors.jl @@ -12,7 +12,7 @@ function add_dummy_time_series_data!(sys) return sys end -# Regression test for https://github.com/NREL-Sienna/PowerSimulations.jl/issues/1594 +# Regression test for https://github.com/Sienna-Platform/PowerSimulations.jl/issues/1594 # Combines a NetworkModel with radial + degree-two reductions, a Line DeviceModel # with a filter_function, and a request for FlowRateConstraint duals. Before the # fix in src/devices_models/devices/common/add_constraint_dual.jl, the dual diff --git a/test/test_utils/iec_simulation_utils.jl b/test/test_utils/iec_simulation_utils.jl index 81f4b11..fd3012e 100644 --- a/test/test_utils/iec_simulation_utils.jl +++ b/test/test_utils/iec_simulation_utils.jl @@ -161,7 +161,7 @@ function run_iec_sim(sys::System, comp_name::String, ::Type{T}; end # TODO test slope, breakpoint written parameters against time series values - # (https://github.com/NREL-Sienna/PowerSimulations.jl/issues/1429) + # (https://github.com/Sienna-Platform/PowerSimulations.jl/issues/1429) decisions = ( _read_one_value(res, IOM.ActivePowerOutVariable, T, comp_name), From 8dfa360ca23b8fbcb7ef37ec1a1c5c7aae857566 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 21 Apr 2026 06:43:37 +0000 Subject: [PATCH 3/3] Update README lab naming to NLR formerly known as NREL Agent-Logs-Url: https://github.com/Sienna-Platform/PowerOperationsModels.jl/sessions/aa2625e2-93fd-43a8-9b31-7cd315ef47e4 Co-authored-by: jd-lara <16385323+jd-lara@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e0d8a50..59e27f1 100644 --- a/README.md +++ b/README.md @@ -21,4 +21,4 @@ Contributions to the development and enhancement of PowerOperationsModels.jl are ## License -PowerOperationsModels.jl is released under a BSD [license](https://github.com/Sienna-Platform/PowerOperationsModels.jl/blob/main/LICENSE). PowerOperationsModels.jl has been developed as part of the Sienna ecosystem at the U.S. Department of Energy's National Renewable Energy Laboratory ([NREL](https://www.nrel.gov/)) +PowerOperationsModels.jl is released under a BSD [license](https://github.com/Sienna-Platform/PowerOperationsModels.jl/blob/main/LICENSE). PowerOperationsModels.jl has been developed as part of the Sienna ecosystem at the U.S. Department of Energy's National Laboratory of the Rockies ([NLR](https://www.nlr.gov/)), formerly known as NREL.