cts5_energy_plot: Plot energy estimation as pdf file

View source: R/CTS5_Energy.R

cts5_energy_plotR Documentation

Plot energy estimation as pdf file

Description

open csv file created by cts5_energy_process and plot data

Usage

cts5_energy_plot(
  login,
  floatname = "",
  subdir = "./ENY",
  metadata = NULL,
  batteryInitialCapacity = 0.9,
  fitLength = 10
)

Arguments

login

identifiant used at the beginning of the pdf filename

floatname

hexa name of the float. If "", the floatname will automatically found.

subdir

subdir where energy .csv ASCII files are stored from cts5_energy_process

metadata

from cts5_readMetaSensor to get battery capacity

batteryInitialCapacity

initial battery capacity [0-1]

fitLength

nombre of profile taken into account to fit the remaining number of profile

Details

this function must be call in the directory where are technical files

Value

a pdf file in the current directory and a list with various outputs.

Examples

Meta<-cts5_readMetaSensor()

cts5_energy_process(floatname="3ab0",Nke_ProgPath="D:/Data/Provor_USEA/USEA_R/",metadata=Meta)

cts5_energy_plot(login,floatname,metadata=Meta)


EdLeymarie/USEA_R documentation built on July 16, 2025, 1 p.m.