Package output
Class OutputLinkFlow
- java.lang.Object
-
- output.AbstractOutput
-
- output.AbstractOutputTimed
-
- output.AbstractOutputTimedLink
-
- output.OutputLinkFlow
-
- All Implemented Interfaces:
InterfaceOutput
,InterfacePlottable
public class OutputLinkFlow extends AbstractOutputTimedLink
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class output.AbstractOutputTimedLink
AbstractOutputTimedLink.LinkProfile
-
Nested classes/interfaces inherited from class output.AbstractOutput
AbstractOutput.Type
-
-
Field Summary
-
Fields inherited from class output.AbstractOutputTimedLink
linkprofiles, ordered_ids
-
Fields inherited from class output.AbstractOutputTimed
commodity, delim, outDt, time_writer
-
Fields inherited from class output.AbstractOutput
output_folder, prefix, scenario, type, write_to_file, writer
-
-
Constructor Summary
Constructors Constructor Description OutputLinkFlow(Scenario scenario, String prefix, String output_folder, Long commodity_id, Collection<Long> link_ids, Float outDt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Double>
get_flow_for_link_in_vph(Long link_id)
double
get_flow_vph_for_linkid_timestep(Long link_id, int timestep)
String
get_output_file()
org.jfree.data.xy.XYSeries
get_series_for_linkid(Long link_id)
double
get_value_for_link(Long link_id)
String
get_yaxis_label()
void
initialize(Scenario scenario)
-
Methods inherited from class output.AbstractOutputTimedLink
get_link_ids, get_profile_for_linkid, get_time, plot, plot_for_links, validate_post_init, write
-
Methods inherited from class output.AbstractOutputTimed
close, get_commodity_id, get_outdt, open, register
-
Methods inherited from class output.AbstractOutput
getType, make_time_chart
-
-
-
-
Constructor Detail
-
OutputLinkFlow
public OutputLinkFlow(Scenario scenario, String prefix, String output_folder, Long commodity_id, Collection<Long> link_ids, Float outDt) throws OTMException
- Throws:
OTMException
-
-
Method Detail
-
get_output_file
public String get_output_file()
- Specified by:
get_output_file
in interfaceInterfaceOutput
- Overrides:
get_output_file
in classAbstractOutputTimedLink
-
initialize
public void initialize(Scenario scenario) throws OTMException
- Overrides:
initialize
in classAbstractOutputTimedLink
- Throws:
OTMException
-
get_yaxis_label
public String get_yaxis_label()
-
get_value_for_link
public double get_value_for_link(Long link_id)
- Specified by:
get_value_for_link
in classAbstractOutputTimedLink
-
get_series_for_linkid
public org.jfree.data.xy.XYSeries get_series_for_linkid(Long link_id)
- Overrides:
get_series_for_linkid
in classAbstractOutputTimedLink
-
get_flow_vph_for_linkid_timestep
public final double get_flow_vph_for_linkid_timestep(Long link_id, int timestep) throws OTMException
- Throws:
OTMException
-
-