Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • R Rsic2
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

La forge institutionnelle d'INRAE étant en production depuis le 10 juin 2025, nous vous recommandons d'y créer tous vos nouveaux projets.

  • SIC2SIC2
  • Rsic2
  • Issues
  • #8
Closed
Open
Issue created Mar 03, 2022 by Dorchies David@david.dorchiesOwner

Generate PAR file for driving simulation

Inputs

Injection of external parameters has following specifications:

  • injected data can be a fixed value or a time series (with step or ramp interpolation)
  • location of injected data can be defined:
    • in the XML project (identified by its number
    • by a location code
    • several locations can be used for a data to be injected

Each injected data has a number which can be of interest if the location is specified by the XML project.

File format

Specification of par file format is here: https://sic.g-eau.fr/Format-du-fichier-par

Specification

A simulation should handle a list of injected data.

An injected data is composed with:

  • a list of locations (eventually empty)
  • a fixed value or a time series (2-columns data.frame)

Implementation

Object SicInputs: a list of SicInput

Object SicInput: a list containing:

  • an item locations which is a list of SicLocation objects which are lists with keys "Bf", "Sn", etc filled with numbers and a key "Car" with a character string
  • an item value which is either a 1-length numeric or a data.frame with an attribute "interpolated" which is TRUE for ramp and FALSE for step.
Edited Mar 21, 2022 by Dorchies David
Assignee
Assign to
Time tracking