Package models.vehicle.newell
Class OutputMicroTrajectory
- java.lang.Object
-
- output.AbstractOutput
-
- output.AbstractOutputTimed
-
- models.vehicle.newell.OutputMicroTrajectory
-
- All Implemented Interfaces:
InterfaceOutput,InterfacePlottable
public class OutputMicroTrajectory extends AbstractOutputTimed
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class output.AbstractOutput
AbstractOutput.Type
-
-
Field Summary
Fields Modifier and Type Field Description ModelNewellmodelfloatoutDt-
Fields inherited from class output.AbstractOutputTimed
commodity, delim, time_writer
-
Fields inherited from class output.AbstractOutput
output_folder, prefix, scenario, type, write_to_file, writer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringget_output_file()Stringget_yaxis_label()voidplot(String filename)voidwrite(float timestamp)-
Methods inherited from class output.AbstractOutputTimed
close, get_commodity_id, get_outdt, open, register, validate_post_init
-
Methods inherited from class output.AbstractOutput
getType, initialize, make_time_chart
-
-
-
-
Field Detail
-
outDt
public float outDt
-
model
public ModelNewell model
-
-
Constructor Detail
-
OutputMicroTrajectory
public OutputMicroTrajectory(Scenario scenario, String prefix, String output_folder, Long commodity_id, Float outDt) throws OTMException
- Throws:
OTMException
-
-
Method Detail
-
get_output_file
public String get_output_file()
- Specified by:
get_output_filein interfaceInterfaceOutput- Overrides:
get_output_filein classAbstractOutputTimed
-
write
public final void write(float timestamp) throws OTMException- Overrides:
writein classAbstractOutputTimed- Throws:
OTMException
-
get_yaxis_label
public String get_yaxis_label()
-
plot
public void plot(String filename) throws OTMException
- Throws:
OTMException
-
-