Skip to content

Commit

Permalink
Upgrade to v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasvarga committed Jan 3, 2025
1 parent 8d8cef0 commit 74ab646
Show file tree
Hide file tree
Showing 40 changed files with 1,226 additions and 8,608 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v4
- uses: codecov/codecov-action@v5
with:
file: lcov.info
env:
Expand Down
27 changes: 17 additions & 10 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name = "PeriodicSystems"
uuid = "5decd0d0-8a5f-11ec-2edd-87b25cbcd17e"
authors = ["Andreas Varga <[email protected]>"]
version = "0.9.1"
version = "1.0.0"

[deps]
ApproxFun = "28f2ccd6-bb30-5033-b560-165f7b14dc2f"
DescriptorSystems = "a81e2ce2-54d1-11eb-2c75-db236b00f339"
FastLapackInterface = "29a986be-02c6-4525-aec4-84b980013641"
IRKGaussLegendre = "58bc7355-f626-4c51-96f2-1f8a038f95a2"
Expand All @@ -16,13 +15,25 @@ MatrixPencils = "48965c70-4690-11ea-1f13-43a2532b2fa8"
Optim = "429524aa-4258-5aef-a3af-852621145aeb"
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
PeriodicMatrices = "dd9cd634-6083-4ae5-8f2e-b983833de2bb"
PeriodicMatrixEquations = "52570b1b-55d0-4b45-8be2-52db9c79d90e"
PeriodicSchurDecompositions = "e5aedecb-f6c0-4c91-b6ff-fbae4296f459"
QuadGK = "1fd47b50-473d-5c70-9696-f719f8f3bcdc"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"

[weakdeps]
ApproxFun = "28f2ccd6-bb30-5033-b560-165f7b14dc2f"

[extensions]
FourierApproxExt1 = "ApproxFun"

[extras]
ApproxFun = "28f2ccd6-bb30-5033-b560-165f7b14dc2f"
LinearMaps = "7a12625a-238d-50fd-b39a-03d52299707e"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
ApproxFun = "0.13"
DescriptorSystems = "1.4"
Expand All @@ -36,19 +47,15 @@ MatrixEquations = "2.2"
MatrixPencils = "1.7"
Optim = "1.7"
OrdinaryDiffEq = "v5.72.2, 6"
PeriodicMatrices = "0.1.1, 0.1.2"
PeriodicSchurDecompositions = "0.1.1, 0.1.5"
PeriodicMatrices = "0.1.2"
PeriodicMatrixEquations = "0.1"
PeriodicSchurDecompositions = "0.1.5"
Reexport = "1.2.2"
QuadGK = "2.9"
Random = "1"
Symbolics = "4, 5"
julia = "1.10"


[extras]
LinearMaps = "7a12625a-238d-50fd-b39a-03d52299707e"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["LinearMaps", "Test"]
test = ["ApproxFun", "LinearMaps", "Test"]

4 changes: 4 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes

## Version 1.0.0

Breaking release, which concludes the integration of `PeriodicMatrices` and `PeriodicMatrixEquations` packages as separate supporting packages. This version also achieves the splitting of the `ApproxFun` package as an optional package.

## Version 0.9.1

Fix error in `psmrc2d`.
Expand Down
2 changes: 2 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DocumenterInterLinks = "d12716ef-a0f6-4df4-a9f1-a5a34e75c656"

[compat]
Documenter = "1"
DocumenterInterLinks = "1"
22 changes: 12 additions & 10 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
using Documenter, PeriodicSystems
using DocumenterInterLinks
DocMeta.setdocmeta!(PeriodicSystems, :DocTestSetup, :(using PeriodicSystems); recursive=true)

# links = InterLinks(
# "PeriodicMatrixEquations" => ("https://andreasvarga.github.io/PeriodicMatrixEquations.jl/dev/",
# "https://andreasvarga.github.io/PeriodicMatrixEquations.jl/dev/objects.inv"),
# );
links = InterLinks(
"PeriodicMatrixEquations" => "https://andreasvarga.github.io/PeriodicMatrixEquations.jl/dev/",
);

makedocs(warnonly = true,
modules = [PeriodicSystems],
sitename = "PeriodicSystems.jl",
Expand All @@ -16,19 +25,12 @@ makedocs(warnonly = true,
"Basic conversions" =>
["psconversions.md",
"pslifting.md"],
# "order_reduction.md",
"psanalysis.md",
"pslyap.md",
"psric.md",
"psstab.md",
# "advanced_operations.md",
# "model_matching.md"
"psstab.md"
],
"Utilities" => [
"pstools.md"
],
"Index" => "makeindex.md"
]
],
plugins=[links]
)

deploydocs(
Expand Down
27 changes: 0 additions & 27 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,33 +68,6 @@ The targeted functionality of this package is described in [1] and will cover bo
* **[`pstimeresp`](@ref)** Time response of a periodic system.
* **[`psstepresp`](@ref)** Step response of a periodic system.

**Solving periodic Lyapunov equations**

* **[`pclyap`](@ref)** Solution of periodic Lyapunov differential equations.
* **[`prclyap`](@ref)** Solution of reverse-time periodic Lyapunov differential equations.
* **[`pfclyap`](@ref)** Solution of forward-time periodic Lyapunov differential equations.
* **[`pgclyap`](@ref)** Computation of periodic generators for periodic Lyapunov differential equations.
* **[`pdlyap`](@ref)** Solution of periodic discrete-time Lyapunov equations.
* **[`pdlyap2`](@ref)** Solution of a pair of periodic discrete-time Lyapunov equations.
* **[`prdlyap`](@ref)** Solution of reverse-time periodic discrete-time Lyapunov equations.
* **[`pfdlyap`](@ref)** Solution of forward-time periodic discrete-time Lyapunov equations.
* **[`pcplyap`](@ref)** Solution of positve periodic Lyapunov differential equations.
* **[`prcplyap`](@ref)** Solution of positve reverse-time periodic Lyapunov differential equations.
* **[`pfcplyap`](@ref)** Solution of positve forward-time periodic Lyapunov differential equations.
* **[`pdplyap`](@ref)** Solution of positve periodic discrete-time Lyapunov equations.
* **[`prdplyap`](@ref)** Solution of positve reverse-time periodic discrete-time Lyapunov equations.
* **[`pfdplyap`](@ref)** Solution of positve forward-time periodic discrete-time Lyapunov equations.

**Solving periodic Riccati equations**

* **[`pcric`](@ref)** Solution of periodic Riccati differential equations.
* **[`prcric`](@ref)** Solution of control-related reverse-time periodic Riccati differential equation.
* **[`pfcric`](@ref)** Solution of filtering-related forward-time periodic Riccati differential equation.
* **[`pgcric`](@ref)** Computation of periodic generators for periodic Riccati differential equations.
* **[`prdric`](@ref)** Solution of control-related reverse-time periodic Riccati difference equation.
* **[`pfdric`](@ref)** Solution of filtering-related forward-time periodic Riccati difference equation.


**Simplification of periodic system models**

**Periodic state feedback controller and estimator design**
Expand Down
2 changes: 1 addition & 1 deletion docs/src/makeindex.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Index

```@index
Pages = [ "pstypes.md", "ps.md", "psconnect.md", "psconversions.md", "pslifting.md", "psanalysis.md", "pslyap.md", "psstab.md", "psric.md", "pstools.md" ]
Pages = [ "pstypes.md", "ps.md", "psconnect.md", "psconversions.md", "pslifting.md", "psanalysis.md", "psstab.md" ]
Modules = [PeriodicSystems]
Order = [:type, :function]
```
41 changes: 0 additions & 41 deletions docs/src/pslyap.md

This file was deleted.

19 changes: 0 additions & 19 deletions docs/src/psric.md

This file was deleted.

14 changes: 0 additions & 14 deletions docs/src/pstools.md

This file was deleted.

31 changes: 31 additions & 0 deletions ext/FourierApproxExt1.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
module FourierApproxExt1

using PeriodicSystems
using Reexport
@reexport using PeriodicMatrices
@reexport using PeriodicMatrixEquations
using ApproxFun
using DescriptorSystems
using FastLapackInterface
using IRKGaussLegendre
using LinearAlgebra
using LineSearches
using MatrixEquations
using MatrixPencils
using Optim
using OrdinaryDiffEq
using PeriodicSchurDecompositions
using QuadGK
using SparseArrays

import LinearAlgebra: BlasInt, BlasFloat, BlasReal, BlasComplex


include("types/PeriodicStateSpace_Fourier.jl")
include("ps_Fourier.jl")
include("psconversions_Fourier.jl")
include("pslifting_Fourier.jl")
include("pstimeresp_Fourier.jl")
include("psanalysis_Fourier.jl")

end
6 changes: 6 additions & 0 deletions ext/ps_Fourier.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# function PeriodicSystems.ps(PMT::Type, sys::DST, period::Real; ns::Int = 1) where {PMT <: FourierFunctionMatrix, DST <: DescriptorStateSpace}
# sys.E == I || error("only standard state-spece models supported")
# Ts = sys.Ts
# Ts == 0 || error("only continuous periodic matrix types allowed")
# ps(PMT(sys.A,period), PMT(sys.B,period), PMT(sys.C,period), PMT(sys.D,period))
# end
Loading

2 comments on commit 74ab646

@andreasvarga
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register

Release notes:

Breaking changes

Breaking release, which concludes the integration of PeriodicMatrices and PeriodicMatrixEquations packages as separate supporting packages. This version also achieves the splitting of the ApproxFun package as an optional package.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/122352

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.0.0 -m "<description of version>" 74ab646c5b3595a0758e2abf321f7c3807e31f15
git push origin v1.0.0

Please sign in to comment.