Skip to content

Commit

Permalink
1. Fix the automerge failure
Browse files Browse the repository at this point in the history
  • Loading branch information
mzy2240 committed Sep 16, 2022
1 parent 88f01e7 commit 5b637f7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = "ESA"
name = "EasySimauto"
uuid = "0328f02f-01d5-4f4a-bc55-6d37b275e203"
authors = ["Zeyu Mao"]
version = "0.1.0"
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ The Julia interface for [Easy SimAuto (ESA)](https://github.com/mzy2240/ESA) and

## Introduction

`ESA.jl` is the Julia API for ESA, an easy-to-use power system analysis automation environment atop PowerWorld Simulator
`EasySimauto.jl` is the Julia API for ESA, an easy-to-use power system analysis automation environment atop PowerWorld Simulator


## Installation

Install `ESA.jl` with
Install `EasySimauto.jl` with

```julia
using Pkg
Pkg.add("ESA")
Pkg.add("EasySimauto")
```

### (Optional) Customize Python Environment
Expand All @@ -33,15 +33,15 @@ Check out the [documentation](https://github.com/JuliaPy/PyCall.jl#specifying-th

## Usage

`ESA.jl` exposes all Python APIs under `esa.py`. Use the package with
`EasySimauto.jl` exposes all Python APIs under `esa.py`. Use the package with

```julia
using ESA
using EasySimauto
```
Two classes `esa` and `SAW` are exposed when loading the module. Then all the methods in `esa.py` shall be available in Julia. For example, to load a case file and run power flow analysis, use

```julia
using ESA
using EasySimauto

case_path = raw"C:\Users\myuser\git\ESA\tests\cases\ieee_14\IEEE 14 bus_pws_version_21.pwb"
saw = SAW(case_path)
Expand All @@ -59,7 +59,7 @@ We welcome contributions! Please read `contributing.md`.

## License

`ESA.jl` is released under [Apache License 2.0](https://github.com/mzy2240/ESA.jl/blob/main/LICENSE).
`EasySimauto.jl` is released under [Apache License 2.0](https://github.com/mzy2240/ESA.jl/blob/main/LICENSE).

## Acknowledgement

Expand Down
2 changes: 1 addition & 1 deletion src/esa.jl → src/EasySimauto.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) 2022 Zeyu Mao
module ESA
module EasySimauto

using PyCall
using Conda
Expand Down
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using ESA
using EasySimauto
using Test

@testset "ESA.jl" begin
@testset "EasySimauto.jl" begin
path = joinpath(@__DIR__, "IEEE 14 bus.pwb")
saw = SAW(path)
@test saw.pw_order == false
Expand Down

0 comments on commit 5b637f7

Please sign in to comment.