Comments (1)
Use the following code as a reference:
# plot storage level
using Plots, DataFrames, StatsPlots
plotly()
df_storage_level_inter = energy_problem.dataframes[:storage_level_inter_rp]
unit_ranges = df_storage_level_inter[!, :base_period_block]
end_values = [range[end] for range in unit_ranges]
df_storage_level_inter[!, :time] = end_values
@df df_storage_level_inter plot(
:time,
:solution,
group = :asset,
legend = :topleft,
layout = 2,
legend_font_pointsize = 6,
size = (800, 600),
)
using StatsPlots
df_storage_level = energy_problem.dataframes[:lowest_storage_level_intra_rp]
unit_ranges = df_storage_level[!, :time_block]
end_values = [range[end] for range in unit_ranges]
df_storage_level[!, :time] = end_values
@df df_storage_level plot(
:time,
:solution,
group = (:asset, :rp),
legend = :topleft,
layout = 2,
legend_font_pointsize = 6,
size = (800, 600),
)
from tulipaplots.jl.
Related Issues (12)
- Register the package
- Change readme.dev & contributing to link to TulipaEnergyModel
- Delete copier.yaml HOT 6
- Add templates for issues and PRs
- Add Zenodo DOI HOT 3
- TagBot trigger issue HOT 1
- Add the option to have the storage level plot in p.u. HOT 1
- Add balance plot for hubs and consumers HOT 1
- Add the price curve plot HOT 1
- Start the Notebook implementation HOT 1
- Make TulipaPlots run from dataframes rather than the energy_problem HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tulipaplots.jl.