Skip to content

sintefore/TimeStructVisualizer.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TimeStructVisualizer

Overview

This package provides functions for visualising time structures from the TimeStruct.jl package. The plots are created using the Luxor package and can be displayed or stored in various formats.

Usage

The example below shows how one can visualise a time structures with two levels.

using TimeStruct
using TimeStructVisualizer

ts = TwoLevel(3, 52, OperationalScenarios(4, SimpleTimes(5,1)))

cost = StrategicProfile(
    [
        ScenarioProfile([1, 2, 3, 4]),
        FixedProfile(2),
        FixedProfile(3)
    ]
)

draw(ts; profile = cost, layout=:top)

This will produce the following figure

About

Package for visualizing time structures from the TimeStruct package using Luxor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages