diff --git a/.github/workflows/PRAS.jl.yml b/.github/workflows/PRAS.jl.yml index 04c2f6ff..2c52e261 100644 --- a/.github/workflows/PRAS.jl.yml +++ b/.github/workflows/PRAS.jl.yml @@ -46,27 +46,27 @@ jobs: ${{ runner.os }}-${{ matrix.arch }}-test- ${{ runner.os }}-${{ matrix.arch }}- ${{ runner.os }}- - - run: julia --project=PRAS -e 'import Pkg; + - run: julia --project=PRAS.jl -e 'import Pkg; Pkg.develop([ - (path="PRASCore",), - (path="PRASFiles",), - (path="PRASCapacityCredits",) + (path="PRASCore.jl",), + (path="PRASFiles.jl",), + (path="PRASCapacityCredits.jl",) ])' shell: bash - uses: julia-actions/julia-buildpkg@latest with: - project: PRAS + project: PRAS.jl - run: | git config --global user.name Tester git config --global user.email te@st.er - uses: julia-actions/julia-runtest@latest with: - project: PRAS + project: PRAS.jl env: JULIA_NUM_THREADS: 2 - uses: julia-actions/julia-processcoverage@v1 with: - directories: PRAS/src + directories: PRAS.jl/src - uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/PRASCapacityCredits.jl.yml b/.github/workflows/PRASCapacityCredits.jl.yml index 66097df8..758233da 100644 --- a/.github/workflows/PRASCapacityCredits.jl.yml +++ b/.github/workflows/PRASCapacityCredits.jl.yml @@ -46,22 +46,22 @@ jobs: ${{ runner.os }}-${{ matrix.arch }}-test- ${{ runner.os }}-${{ matrix.arch }}- ${{ runner.os }}- - - run: julia --project=PRASCapacityCredits -e 'import Pkg; Pkg.develop(path="PRASCore")' + - run: julia --project=PRASCapacityCredits.jl -e 'import Pkg; Pkg.develop(path="PRASCore.jl")' shell: bash - uses: julia-actions/julia-buildpkg@latest with: - project: PRASCapacityCredits + project: PRASCapacityCredits.jl - run: | git config --global user.name Tester git config --global user.email te@st.er - uses: julia-actions/julia-runtest@latest with: - project: PRASCapacityCredits + project: PRASCapacityCredits.jl env: JULIA_NUM_THREADS: 2 - uses: julia-actions/julia-processcoverage@v1 with: - directories: PRASCapacityCredits/src + directories: PRASCapacityCredits.jl/src - uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/PRASCore.jl.yml b/.github/workflows/PRASCore.jl.yml index e348047a..ced28356 100644 --- a/.github/workflows/PRASCore.jl.yml +++ b/.github/workflows/PRASCore.jl.yml @@ -48,18 +48,18 @@ jobs: ${{ runner.os }}- - uses: julia-actions/julia-buildpkg@latest with: - project: PRASCore + project: PRASCore.jl - run: | git config --global user.name Tester git config --global user.email te@st.er - uses: julia-actions/julia-runtest@latest with: - project: PRASCore + project: PRASCore.jl env: JULIA_NUM_THREADS: 2 - uses: julia-actions/julia-processcoverage@v1 with: - directories: PRASCore/src + directories: PRASCore.jl/src - uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/PRASFiles.jl.yml b/.github/workflows/PRASFiles.jl.yml index c9a335d2..bd0c2a80 100644 --- a/.github/workflows/PRASFiles.jl.yml +++ b/.github/workflows/PRASFiles.jl.yml @@ -46,22 +46,22 @@ jobs: ${{ runner.os }}-${{ matrix.arch }}-test- ${{ runner.os }}-${{ matrix.arch }}- ${{ runner.os }}- - - run: julia --project=PRASFiles -e 'import Pkg; Pkg.develop(path="PRASCore")' + - run: julia --project=PRASFiles.jl -e 'import Pkg; Pkg.develop(path="PRASCore.jl")' shell: bash - uses: julia-actions/julia-buildpkg@latest with: - project: PRASFiles + project: PRASFiles.jl - run: | git config --global user.name Tester git config --global user.email te@st.er - uses: julia-actions/julia-runtest@latest with: - project: PRASFiles + project: PRASFiles.jl env: JULIA_NUM_THREADS: 2 - uses: julia-actions/julia-processcoverage@v1 with: - directories: PRASFiles/src + directories: PRASFiles.jl/src - uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/PRAS/LICENSE.md b/PRAS.jl/LICENSE.md similarity index 100% rename from PRAS/LICENSE.md rename to PRAS.jl/LICENSE.md diff --git a/PRAS/Project.toml b/PRAS.jl/Project.toml similarity index 100% rename from PRAS/Project.toml rename to PRAS.jl/Project.toml diff --git a/PRAS/src/PRAS.jl b/PRAS.jl/src/PRAS.jl similarity index 100% rename from PRAS/src/PRAS.jl rename to PRAS.jl/src/PRAS.jl diff --git a/PRAS/test/runtests.jl b/PRAS.jl/test/runtests.jl similarity index 100% rename from PRAS/test/runtests.jl rename to PRAS.jl/test/runtests.jl diff --git a/PRASCapacityCredits/LICENSE.md b/PRASCapacityCredits.jl/LICENSE.md similarity index 100% rename from PRASCapacityCredits/LICENSE.md rename to PRASCapacityCredits.jl/LICENSE.md diff --git a/PRASCapacityCredits/Project.toml b/PRASCapacityCredits.jl/Project.toml similarity index 100% rename from PRASCapacityCredits/Project.toml rename to PRASCapacityCredits.jl/Project.toml diff --git a/PRASCapacityCredits/src/CapacityCreditResult.jl b/PRASCapacityCredits.jl/src/CapacityCreditResult.jl similarity index 100% rename from PRASCapacityCredits/src/CapacityCreditResult.jl rename to PRASCapacityCredits.jl/src/CapacityCreditResult.jl diff --git a/PRASCapacityCredits/src/EFC.jl b/PRASCapacityCredits.jl/src/EFC.jl similarity index 100% rename from PRASCapacityCredits/src/EFC.jl rename to PRASCapacityCredits.jl/src/EFC.jl diff --git a/PRASCapacityCredits/src/ELCC.jl b/PRASCapacityCredits.jl/src/ELCC.jl similarity index 100% rename from PRASCapacityCredits/src/ELCC.jl rename to PRASCapacityCredits.jl/src/ELCC.jl diff --git a/PRASCapacityCredits/src/PRASCapacityCredits.jl b/PRASCapacityCredits.jl/src/PRASCapacityCredits.jl similarity index 100% rename from PRASCapacityCredits/src/PRASCapacityCredits.jl rename to PRASCapacityCredits.jl/src/PRASCapacityCredits.jl diff --git a/PRASCapacityCredits/src/utils.jl b/PRASCapacityCredits.jl/src/utils.jl similarity index 100% rename from PRASCapacityCredits/src/utils.jl rename to PRASCapacityCredits.jl/src/utils.jl diff --git a/PRASCapacityCredits/test/runtests.jl b/PRASCapacityCredits.jl/test/runtests.jl similarity index 100% rename from PRASCapacityCredits/test/runtests.jl rename to PRASCapacityCredits.jl/test/runtests.jl diff --git a/PRASCore/LICENSE.md b/PRASCore.jl/LICENSE.md similarity index 100% rename from PRASCore/LICENSE.md rename to PRASCore.jl/LICENSE.md diff --git a/PRASCore/Project.toml b/PRASCore.jl/Project.toml similarity index 100% rename from PRASCore/Project.toml rename to PRASCore.jl/Project.toml diff --git a/PRASCore/src/PRASCore.jl b/PRASCore.jl/src/PRASCore.jl similarity index 100% rename from PRASCore/src/PRASCore.jl rename to PRASCore.jl/src/PRASCore.jl diff --git a/PRASCore/src/Results/Flow.jl b/PRASCore.jl/src/Results/Flow.jl similarity index 100% rename from PRASCore/src/Results/Flow.jl rename to PRASCore.jl/src/Results/Flow.jl diff --git a/PRASCore/src/Results/FlowSamples.jl b/PRASCore.jl/src/Results/FlowSamples.jl similarity index 100% rename from PRASCore/src/Results/FlowSamples.jl rename to PRASCore.jl/src/Results/FlowSamples.jl diff --git a/PRASCore/src/Results/GeneratorAvailability.jl b/PRASCore.jl/src/Results/GeneratorAvailability.jl similarity index 100% rename from PRASCore/src/Results/GeneratorAvailability.jl rename to PRASCore.jl/src/Results/GeneratorAvailability.jl diff --git a/PRASCore/src/Results/GeneratorStorageAvailability.jl b/PRASCore.jl/src/Results/GeneratorStorageAvailability.jl similarity index 100% rename from PRASCore/src/Results/GeneratorStorageAvailability.jl rename to PRASCore.jl/src/Results/GeneratorStorageAvailability.jl diff --git a/PRASCore/src/Results/GeneratorStorageEnergy.jl b/PRASCore.jl/src/Results/GeneratorStorageEnergy.jl similarity index 100% rename from PRASCore/src/Results/GeneratorStorageEnergy.jl rename to PRASCore.jl/src/Results/GeneratorStorageEnergy.jl diff --git a/PRASCore/src/Results/GeneratorStorageEnergySamples.jl b/PRASCore.jl/src/Results/GeneratorStorageEnergySamples.jl similarity index 100% rename from PRASCore/src/Results/GeneratorStorageEnergySamples.jl rename to PRASCore.jl/src/Results/GeneratorStorageEnergySamples.jl diff --git a/PRASCore/src/Results/LineAvailability.jl b/PRASCore.jl/src/Results/LineAvailability.jl similarity index 100% rename from PRASCore/src/Results/LineAvailability.jl rename to PRASCore.jl/src/Results/LineAvailability.jl diff --git a/PRASCore/src/Results/Results.jl b/PRASCore.jl/src/Results/Results.jl similarity index 100% rename from PRASCore/src/Results/Results.jl rename to PRASCore.jl/src/Results/Results.jl diff --git a/PRASCore/src/Results/Shortfall.jl b/PRASCore.jl/src/Results/Shortfall.jl similarity index 100% rename from PRASCore/src/Results/Shortfall.jl rename to PRASCore.jl/src/Results/Shortfall.jl diff --git a/PRASCore/src/Results/ShortfallSamples.jl b/PRASCore.jl/src/Results/ShortfallSamples.jl similarity index 100% rename from PRASCore/src/Results/ShortfallSamples.jl rename to PRASCore.jl/src/Results/ShortfallSamples.jl diff --git a/PRASCore/src/Results/StorageAvailability.jl b/PRASCore.jl/src/Results/StorageAvailability.jl similarity index 100% rename from PRASCore/src/Results/StorageAvailability.jl rename to PRASCore.jl/src/Results/StorageAvailability.jl diff --git a/PRASCore/src/Results/StorageEnergy.jl b/PRASCore.jl/src/Results/StorageEnergy.jl similarity index 100% rename from PRASCore/src/Results/StorageEnergy.jl rename to PRASCore.jl/src/Results/StorageEnergy.jl diff --git a/PRASCore/src/Results/StorageEnergySamples.jl b/PRASCore.jl/src/Results/StorageEnergySamples.jl similarity index 100% rename from PRASCore/src/Results/StorageEnergySamples.jl rename to PRASCore.jl/src/Results/StorageEnergySamples.jl diff --git a/PRASCore/src/Results/Surplus.jl b/PRASCore.jl/src/Results/Surplus.jl similarity index 100% rename from PRASCore/src/Results/Surplus.jl rename to PRASCore.jl/src/Results/Surplus.jl diff --git a/PRASCore/src/Results/SurplusSamples.jl b/PRASCore.jl/src/Results/SurplusSamples.jl similarity index 100% rename from PRASCore/src/Results/SurplusSamples.jl rename to PRASCore.jl/src/Results/SurplusSamples.jl diff --git a/PRASCore/src/Results/Utilization.jl b/PRASCore.jl/src/Results/Utilization.jl similarity index 100% rename from PRASCore/src/Results/Utilization.jl rename to PRASCore.jl/src/Results/Utilization.jl diff --git a/PRASCore/src/Results/UtilizationSamples.jl b/PRASCore.jl/src/Results/UtilizationSamples.jl similarity index 100% rename from PRASCore/src/Results/UtilizationSamples.jl rename to PRASCore.jl/src/Results/UtilizationSamples.jl diff --git a/PRASCore/src/Results/metrics.jl b/PRASCore.jl/src/Results/metrics.jl similarity index 100% rename from PRASCore/src/Results/metrics.jl rename to PRASCore.jl/src/Results/metrics.jl diff --git a/PRASCore/src/Results/utils.jl b/PRASCore.jl/src/Results/utils.jl similarity index 100% rename from PRASCore/src/Results/utils.jl rename to PRASCore.jl/src/Results/utils.jl diff --git a/PRASCore/src/Simulations/DispatchProblem.jl b/PRASCore.jl/src/Simulations/DispatchProblem.jl similarity index 100% rename from PRASCore/src/Simulations/DispatchProblem.jl rename to PRASCore.jl/src/Simulations/DispatchProblem.jl diff --git a/PRASCore/src/Simulations/Simulations.jl b/PRASCore.jl/src/Simulations/Simulations.jl similarity index 100% rename from PRASCore/src/Simulations/Simulations.jl rename to PRASCore.jl/src/Simulations/Simulations.jl diff --git a/PRASCore/src/Simulations/SystemState.jl b/PRASCore.jl/src/Simulations/SystemState.jl similarity index 100% rename from PRASCore/src/Simulations/SystemState.jl rename to PRASCore.jl/src/Simulations/SystemState.jl diff --git a/PRASCore/src/Simulations/recording.jl b/PRASCore.jl/src/Simulations/recording.jl similarity index 100% rename from PRASCore/src/Simulations/recording.jl rename to PRASCore.jl/src/Simulations/recording.jl diff --git a/PRASCore/src/Simulations/utils.jl b/PRASCore.jl/src/Simulations/utils.jl similarity index 100% rename from PRASCore/src/Simulations/utils.jl rename to PRASCore.jl/src/Simulations/utils.jl diff --git a/PRASCore/src/Systems/SystemModel.jl b/PRASCore.jl/src/Systems/SystemModel.jl similarity index 100% rename from PRASCore/src/Systems/SystemModel.jl rename to PRASCore.jl/src/Systems/SystemModel.jl diff --git a/PRASCore/src/Systems/Systems.jl b/PRASCore.jl/src/Systems/Systems.jl similarity index 100% rename from PRASCore/src/Systems/Systems.jl rename to PRASCore.jl/src/Systems/Systems.jl diff --git a/PRASCore/src/Systems/TestData.jl b/PRASCore.jl/src/Systems/TestData.jl similarity index 100% rename from PRASCore/src/Systems/TestData.jl rename to PRASCore.jl/src/Systems/TestData.jl diff --git a/PRASCore/src/Systems/assets.jl b/PRASCore.jl/src/Systems/assets.jl similarity index 100% rename from PRASCore/src/Systems/assets.jl rename to PRASCore.jl/src/Systems/assets.jl diff --git a/PRASCore/src/Systems/collections.jl b/PRASCore.jl/src/Systems/collections.jl similarity index 100% rename from PRASCore/src/Systems/collections.jl rename to PRASCore.jl/src/Systems/collections.jl diff --git a/PRASCore/src/Systems/units.jl b/PRASCore.jl/src/Systems/units.jl similarity index 100% rename from PRASCore/src/Systems/units.jl rename to PRASCore.jl/src/Systems/units.jl diff --git a/PRASCore/test/Results/availability.jl b/PRASCore.jl/test/Results/availability.jl similarity index 100% rename from PRASCore/test/Results/availability.jl rename to PRASCore.jl/test/Results/availability.jl diff --git a/PRASCore/test/Results/energy.jl b/PRASCore.jl/test/Results/energy.jl similarity index 100% rename from PRASCore/test/Results/energy.jl rename to PRASCore.jl/test/Results/energy.jl diff --git a/PRASCore/test/Results/flow.jl b/PRASCore.jl/test/Results/flow.jl similarity index 100% rename from PRASCore/test/Results/flow.jl rename to PRASCore.jl/test/Results/flow.jl diff --git a/PRASCore/test/Results/metrics.jl b/PRASCore.jl/test/Results/metrics.jl similarity index 100% rename from PRASCore/test/Results/metrics.jl rename to PRASCore.jl/test/Results/metrics.jl diff --git a/PRASCore/test/Results/runtests.jl b/PRASCore.jl/test/Results/runtests.jl similarity index 100% rename from PRASCore/test/Results/runtests.jl rename to PRASCore.jl/test/Results/runtests.jl diff --git a/PRASCore/test/Results/shortfall.jl b/PRASCore.jl/test/Results/shortfall.jl similarity index 100% rename from PRASCore/test/Results/shortfall.jl rename to PRASCore.jl/test/Results/shortfall.jl diff --git a/PRASCore/test/Results/surplus.jl b/PRASCore.jl/test/Results/surplus.jl similarity index 100% rename from PRASCore/test/Results/surplus.jl rename to PRASCore.jl/test/Results/surplus.jl diff --git a/PRASCore/test/Results/utilization.jl b/PRASCore.jl/test/Results/utilization.jl similarity index 100% rename from PRASCore/test/Results/utilization.jl rename to PRASCore.jl/test/Results/utilization.jl diff --git a/PRASCore/test/Simulations/runtests.jl b/PRASCore.jl/test/Simulations/runtests.jl similarity index 100% rename from PRASCore/test/Simulations/runtests.jl rename to PRASCore.jl/test/Simulations/runtests.jl diff --git a/PRASCore/test/Systems/SystemModel.jl b/PRASCore.jl/test/Systems/SystemModel.jl similarity index 100% rename from PRASCore/test/Systems/SystemModel.jl rename to PRASCore.jl/test/Systems/SystemModel.jl diff --git a/PRASCore/test/Systems/assets.jl b/PRASCore.jl/test/Systems/assets.jl similarity index 100% rename from PRASCore/test/Systems/assets.jl rename to PRASCore.jl/test/Systems/assets.jl diff --git a/PRASCore/test/Systems/collections.jl b/PRASCore.jl/test/Systems/collections.jl similarity index 100% rename from PRASCore/test/Systems/collections.jl rename to PRASCore.jl/test/Systems/collections.jl diff --git a/PRASCore/test/Systems/runtests.jl b/PRASCore.jl/test/Systems/runtests.jl similarity index 100% rename from PRASCore/test/Systems/runtests.jl rename to PRASCore.jl/test/Systems/runtests.jl diff --git a/PRASCore/test/Systems/units.jl b/PRASCore.jl/test/Systems/units.jl similarity index 100% rename from PRASCore/test/Systems/units.jl rename to PRASCore.jl/test/Systems/units.jl diff --git a/PRASCore/test/dummydata.jl b/PRASCore.jl/test/dummydata.jl similarity index 100% rename from PRASCore/test/dummydata.jl rename to PRASCore.jl/test/dummydata.jl diff --git a/PRASCore/test/runtests.jl b/PRASCore.jl/test/runtests.jl similarity index 100% rename from PRASCore/test/runtests.jl rename to PRASCore.jl/test/runtests.jl diff --git a/PRASFiles/LICENSE.md b/PRASFiles.jl/LICENSE.md similarity index 100% rename from PRASFiles/LICENSE.md rename to PRASFiles.jl/LICENSE.md diff --git a/PRASFiles/Project.toml b/PRASFiles.jl/Project.toml similarity index 100% rename from PRASFiles/Project.toml rename to PRASFiles.jl/Project.toml diff --git a/PRASFiles/src/PRASFiles.jl b/PRASFiles.jl/src/PRASFiles.jl similarity index 100% rename from PRASFiles/src/PRASFiles.jl rename to PRASFiles.jl/src/PRASFiles.jl diff --git a/PRASFiles/src/read.jl b/PRASFiles.jl/src/read.jl similarity index 100% rename from PRASFiles/src/read.jl rename to PRASFiles.jl/src/read.jl diff --git a/PRASFiles/src/rts.pras b/PRASFiles.jl/src/rts.pras similarity index 100% rename from PRASFiles/src/rts.pras rename to PRASFiles.jl/src/rts.pras diff --git a/PRASFiles/src/toymodel.pras b/PRASFiles.jl/src/toymodel.pras similarity index 100% rename from PRASFiles/src/toymodel.pras rename to PRASFiles.jl/src/toymodel.pras diff --git a/PRASFiles/src/utils.jl b/PRASFiles.jl/src/utils.jl similarity index 100% rename from PRASFiles/src/utils.jl rename to PRASFiles.jl/src/utils.jl diff --git a/PRASFiles/src/write.jl b/PRASFiles.jl/src/write.jl similarity index 100% rename from PRASFiles/src/write.jl rename to PRASFiles.jl/src/write.jl diff --git a/PRASFiles/test/runtests.jl b/PRASFiles.jl/test/runtests.jl similarity index 100% rename from PRASFiles/test/runtests.jl rename to PRASFiles.jl/test/runtests.jl