Plexos Tutorials Session-1
Plexos Tutorials Session-1
Training
SESSION 1 | May 2022
Energy Exemplar and
PLEXOS
Unified
energy market and portfolio
simulation, forecasting and optimization
software and data services
Techno-economic optimization:
Minimize costs while meeting demands + technical
constraints
Commodities: Electricity, gas, water
Model producers, consumers, financial agreements
Deterministic scenarios
Global co-optimization Linear constraints
Monte-Carlo simulations
Horizon integration Non-linear constraints
Stochastic optimization
Carbon Market
Power Generation
Gas Generation Hydro Generation
Gas Field Gas Storage Pipeline Network
P2G Hydrogen
PPA / Bilateral Contracts
H-Storage
• Load Forecasting
• ST Modeling: UC and ED
2 • Fuels, ToP Contracts
5 • MT Modeling
• Pricing
• Context sensitive
– Place cursor at a variable in the input or
output interface then press F1 key to
view class or property description.
Input Interface
Memberships
Static
tree
Properties
Objects Properties
tree tree
Dynamic
Properties
Ribbon Menu
Memberships
tree
Objects data
grid
Properties
Objects tree
tree
17
b)
a)
Highlight the
Generator or Select the Node (Child) we want
the whole to add to the Generator.Node
class collection from the drop down
menu
SYSTEM TAB:
SIMULATION TAB:
Dynamic Properties
– Property value can be changed over the Dynamic properties in lower grid pane,
can be changed by date, timeslice or
planning horizon and/or by scenario scenario
– Blue icon in properties tree
– Dynamic properties appear on the lower
half of data grid pane
29
Pattern Interpretation
H1-6 The value applies only when the hour of the day is between 1 and 6
H1-6,H18-24 The value applies when the hour of the day is between 1 and 6, and 18-24
The value applies in hours 1 to 6 but only for weekday one or hours 2 to 8 for weekday seven, but not for
W1,H1-6;W7,H2-8
other weekdays.
P30-48 The value applies to periods 30-48 e.g. in a 30-minute interval simulation model © 2021 Energy Exemplar | 31
Exercise: Creating Objects, Memberships, and Properties
• Topology I of Region “Region_A” power system
TASKS:
• Open the Base File
2_River&Market
Region_A • Create Objects
• Create Memberships
1_CoalMine 3_LoadCenter • Map Coal and Gas to Node 1
Coal_Gen L1-2 L2-3 • Load is at Node 3
• Input the following Properties
Gas_Gen1 L1-3
• Create Region, Nodes, Lines, Generator Objects
Gas_Gen2
• Create Memberships between Region- Node,
Nod Load Participation Load Node-Line, Generator-Node
e Factor
1 0 H01-08 H09-17 H18-24 • Input the Properties
2 0
Load [MW] 480 760 630
3 1 • Enter the patterns for the loads
Optimization Time
PASA Schedule maintenance events At least one
Frame
MT Schedule Define mid-term simulation parameters At least one
Competition Define power market equilibrium method optional What and how
ST Only
×
Incorrect Setting:
Chronological Phase is not a Correct Setting: Chronological
subset of Planning Horizon Phase subset of Planning Horizon
• Save samples
– Filters
• Allows objects to be selectively chosen in
solutionSuggestion:
viewerThe size of solution files can get very large and cause slow execution. Therefore, use model and horizon
specific report objects – Debug, Budget, IRP, Hydro, Financial Contracts, Unit Outages, Units Starts, Stochastics, etc. © 2021 Energy Exemplar | 43
Report Object
Field List Tab
• Report Memberships
• Can report on selected items in class
Right click on
a specific
model object
Price Received
SRMC
Units Generating
© 2021 Energy Exemplar | 52
Solution Viewer and Output
Interface
Ribbon menu
Simulation
phase
Objects
tree
Date range
(optional)
Report
Properties
(enabled from Result and Log tab
Report Objects)
3. Optional:
– Select a secondary property to generate a XY-axis chart
– Display results by sample (Monte Carlo or stochastic simulation)
• Solution chart display settings (“Chart” tab accessible via the Ribbon)
• Select chart type: line, bar, pie, etc.
• Time series or duration curve
• Secondary Y-axis also available
Export to Excel
• Click the Excel ribbon button at the Home tab, all the displayed data will be
automatically copied to a spreadsheet
• If Excel is already open, the ribbon button provides dropdown of extra commands
• New Sheet drops data into new worksheet of active Workbook
• Current Position drops data into active cell of active Workbook
CONFIDENTIAL 61
62
CONFIDENTIAL 63
Hydro TASKS:
2_River&Market Open the base model.
Region_A
Add Generator object Hydro at Node 2_River &
Market
1_CoalMine 3_LoadCenter Go to Config and enable the Scenario Class
Coal_Gen
L1-2 L2-3 Create a Scenario object “RunofRiver”
Gas_Gen1 Tag all the properties of Hydro with “RunofRiver”
L1-3
scenario (Make sure all the properties related to
Gas_Gen2
Hydro Generator are dynamic in order to tag with
the scenario)
Load
Go to the Simulation tab
Property Hydro Change the Horizon68 to 1 Week.
Units 1 Create a new Model object “Base+RunofRiver” and
select RunofRiver under scenarios collection
Max Capacity (MW) 250
Execute the model
VO&M Charge ($/MWh) 1 Examine the results
Fuel Price ($/GJ) 0 Period Type = Interval
Max Capacity Factor Week 40% Date Range = 168 Hours
© 2021 Energy Exemplar | 68
Exercise: Creating a Scenario
CONFIDENTIAL 71
• Timeslices are created using patterns, date from, date to, and even read from a text file,
i.e. Timeslices can use all usual input methods (except other Timeslices).
• [Include] is the only property for Timeslices and is a simple flag where 0 = false (No)
and -1 = true (Yes).
• You can create as many Timeslice objects as needed.
TASKS:
2_River&Market
Region_A • Open the base model
• Go to Config and enable the Timeslice Class
1_CoalMine 3_LoadCenter • Create Timeslice objects as shown in the
Coal_Gen
L1-2 L2-3 previous slide
Gas_Gen1
L1-3 • Input [Include] = Yes and patterns of the
Gas_Gen2
Timeslice objects
• Go to the Region.
Load
• Replace the timeslice
74 of [Load] with the new
Timeslice objects using the Dropdown list
Properties can be read from external data files even without the Data File Object
The advantage of having the Data File Object is that it will enable the user to add more properties
available to manage the external csv file
• Upscaling Method
Upscale data to more granular resolution (ex: hourly to 1-minute)
Step, Interpolate, Boundary Interpolate
• Downscaling Method
Downscale data to less granular resolution (ex: 5-minute to hourly)
Average, First, Last
• Locale
Some layouts are sensitive to regional datetime setting on local
computer
Datetime format: UK: DD/MM/YYYY or US: MM/DD/YYYY
Identifies the culture settings that were used when the Data File was
created:
1 2
Year Month Day Period Gen1 Gen2 Gen3 … Datetime Wind1 Wind2 Wind3
Year Month Day Period Value
1/1/2018 3 4 6
2003 7 1 1 95 63 43.2 … 2003 7 1 1 95 1/1/2018 1:00 3 6 2
2003 7 1 2 133.5 203.3 72 … 2003 7 1 2 133.5 1/1/2018 2:00 3 1 5
2003 7 1 3 52.6 158 185 … 2003 7 1 3 52.6 1/1/2018 3:00 3 3 1
… … … …
2003 7 1 4 33.4 66.8 294.4 … 2003 7 1 4 33.4
1/1/2018 23:00 3 6 2
… … … … … … … … … … … … …
1/2/2018 3 6 4
2003 7 1 24 87 29.4 84.8 … 2003 7 1 24 87 1/2/2018 1:00 3 6 4
… … … … … … … … … … … … … … … … …
Name Pattern 1 2 3 4 … 10
Year Month Day Period 1 2 3 4 5 6 7 8 9 10
PPCCGT P1-3 380 40 10 10 …
2003 7 1 1 315 145 60 10 10 10 10 10 130
PPCCGT P4-14 335 40 40 10 …
2003 7 1 2 315 125 60 10 10 10 10 10 150 PPCCGT P15-32 320 51 60 10 … 35