Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions src/PowerGraphics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,10 @@ import DataFrames
import YAML
Reexport.@reexport using Plots
import DataStructures: OrderedDict, SortedDict
import PowerSystems
import InfrastructureSystems
import PowerSystems as PSY
import InfrastructureSystems as IS
import InteractiveUtils
import PowerAnalytics

const PSY = PowerSystems
const IS = InfrastructureSystems
const PA = PowerAnalytics
import PowerAnalytics as PA

include("definitions.jl")
include("plot_recipes.jl")
Expand Down
6 changes: 2 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using Logging
using Dates
using DataFrames
using DataStructures
import InfrastructureSystems
import InfrastructureSystems as IS
import InfrastructureSystems: Deterministic, Probabilistic, Scenarios, Forecast
using PowerSystems
using PowerGraphics
Expand All @@ -18,7 +18,6 @@ using TimeSeries
using HydroPowerSimulations

const PG = PowerGraphics
const IS = InfrastructureSystems
const PSY = PowerSystems
const PSI = PowerSimulations
const PA = PowerAnalytics
Expand All @@ -32,8 +31,7 @@ const TEST_RESULT_DIR = joinpath(TEST_OUTPUTS, "results")
!isdir(TEST_RESULT_DIR) && mkdir(TEST_RESULT_DIR)
const TEST_SIM_NAME = "results_sim"

import PowerSystemCaseBuilder
const PSB = PowerSystemCaseBuilder
import PowerSystemCaseBuilder as PSB
template_dir = joinpath(BASE_DIR, "report_templates")
const generic_template = joinpath(template_dir, "generic_report_template.jmd")

Expand Down