Package: simplaceUtil 0.9.1

simplaceUtil: Provides Utility Functions and ShinyApps to work with the modeling framework 'SIMPLACE'

Provides Utility Functions and ShinyApps to work with the modeling framework 'SIMPLACE'. It visualises components of a solution, runs simulations and displays results.

Authors:Gunther Krauss [aut, cre]

simplaceUtil_0.9.1.tar.gz
simplaceUtil_0.9.1.zip(r-4.7)simplaceUtil_0.9.1.zip(r-4.6)simplaceUtil_0.9.1.zip(r-4.5)
simplaceUtil_0.9.1.tgz(r-4.6-any)simplaceUtil_0.9.1.tgz(r-4.5-any)
simplaceUtil_0.9.1.tar.gz(r-4.7-any)simplaceUtil_0.9.1.tar.gz(r-4.6-any)
simplaceUtil_0.9.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
simplaceUtil/json (API)
NEWS

# Install 'simplaceUtil' in R:
install.packages('simplaceUtil', repos = c('https://gk-crop.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/gk-crop/simplaceutil/issues

Uses libs:
  • openjdk– OpenJDK Java runtime, using Hotspot JIT
Datasets:

On CRAN:

Conda:

openjdk

3.70 score 1 stars 6 scripts 60 exports 83 dependencies

Last updated from:18fdc9d7bc. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK202
source / vignettesOK241
linux-release-x86_64OK174
macos-release-arm64OK86
macos-oldrel-arm64OK104
windows-develOK105
windows-releaseOK107
windows-oldrelOK90
wasm-releaseOK161

Exports:addComponentInputaddCSVOutputaddMemoryOutputaddOutputVariableaddTimingSimComponentaddUserVariableaddXMLParameterchangeAllOutputTypesToMemorychangeInterfaceFilechangeOutputTypecomponentsToGraphcreateCodeStubsForSimVariablescreateResourceStubsFromCsvcreateResourceStubsFromXmlenhanceFunctionWithBoundariesenhanceFunctionWithPenaltyfetchDescriptionFromWebsitefetchSimComponentlistFromWebsitefetchSimVariablesFromWebsitefilterEdgesformatProjectFileformatSolutionFilegetComponentsgetElementsFromSolutionFilegetLinkingFromComponentgetLinkingToComponentgetLinksgetMemoryOutputIdsgetNeighborhoodgetOutputFilenamesgetResourceVariablesgetSolutionFromFilegetSolutionFromTextgetSolutionInfoAsDataframegetTextFromSolutiongetUserVariablesgetXMLParametergetXMLParameterIDsgraphLegendparseDateplotLayeredOutputplotScalarOutputreadXMLParameterFileremoveComponentInputremoveNonMemoryOutputsremoveOutputremoveOutputVariablereplaceVariablereplaceVariablesWithValuesrunSimplaceCustomGuiApprunSimplaceGuiAppscaleXMLParametersetInputValuesetInputValueForCategorysetXMLParametersolutionToGraphswapComponentstransformLayeredDatawriteSolutionToFilewriteXMLParameterFile

Dependencies:base64encbitbit64bslibcachemclicliprcommonmarkcpp11crayoncrosstalkDiagrammeRdigestdplyrDTevaluatefarverfastmapfontawesomefsgenericsggplot2gluegtablehighrhmshtmltoolshtmlwidgetshttpuvigraphisobandjquerylibjsonliteknitrlabelinglaterlatticelazyevallifecyclemagrittrMatrixmemoisemimeotelpillarpkgconfigprettyunitsprogresspromisespurrrR6rappdirsRColorBrewerRcppreadrrJavarlangrmarkdownrstudioapiS7sassscalesshinyshinyFilessimplacesourcetoolsstringistringrtibbletidyrtidyselecttinytextzdbutf8vctrsviridisLitevisNetworkvroomwithrxfunxml2xtableyaml

simplaceUtil

Rendered fromsimplaceUtil.Rmdusingknitr::rmarkdownon May 19 2026.

Last update: 2026-03-18
Started: 2023-03-29

Readme and manuals

Help Manual

Help pageTopics
Adds an input to a sim component.addComponentInput
Adds a new CSV output to solution.addCSVOutput
Adds a new memory output to solution.addMemoryOutput
Adds output variable to an existing outputaddOutputVariable
Adds elements for timing the execution time of sim components (and transformers)addTimingSimComponent
Adds an user variable to the 'variables' sectionaddUserVariable
Adds a parameter to a specific parametersetaddXMLParameter
Changes all non-MEMORY outputs from solution to MEMORY outputs.changeAllOutputTypesToMemory
Changes all non-MEMORY outputs from solution to MEMORY outputs.changeInterfaceFile
Changes the type of an output from CSV to MEMORY or vice versachangeOutputType
Creates a graph from component and links dataframecomponentsToGraph
Create java and xml code stubs from a csv filecreateCodeStubsForSimVariables
Creates XML stubs for interface and resource section from CSV file structurecreateResourceStubsFromCsv
Creates XML stubs for interface and resource section from XML file structurecreateResourceStubsFromXml
Modifies function to return a penalty value for parameters outside boundariesenhanceFunctionWithBoundaries
Modifies function to return a penalised value for parameters outside boundariesenhanceFunctionWithPenalty
Fetches the Description (as HTML source code) of a SimComponent from Simplace WebsitefetchDescriptionFromWebsite
Fetches the list of SimComponents from the Simplace WebsitefetchSimComponentlistFromWebsite
Fetches the SimVariables table for a SimComponent from Simplace WebsitefetchSimVariablesFromWebsite
Selects edges of specific timestepfilterEdges
Formats / prettyprints a project fileformatProjectFile
Formats / prettyprints a solution fileformatSolutionFile
Gets components for a solutiongetComponents
Get component and links dataframe from solution filegetElementsFromSolutionFile
Get components that are linked from given componentgetLinkingFromComponent
Get components that link to given componentsgetLinkingToComponent
Get the dataframe of links between componentsgetLinks
Get ids of memory outputsgetMemoryOutputIds
Get the simcomponents in the neighborhood of given componentsgetNeighborhood
Get filenames of file outputsgetOutputFilenames
Get variables for a specific resource or transformergetResourceVariables
Reads a solution from filegetSolutionFromFile
Reads a solution from textgetSolutionFromText
Get info for a solutiongetSolutionInfoAsDataframe
Converts a solution to textgetTextFromSolution
Gets user variables for a solutiongetUserVariables
Get a parameter value for a specific parametersetgetXMLParameter
Get IDs of all parametersets in the parameterfilegetXMLParameterIDs
Creates legendsgraphLegend
Converts date (class 'character') column from output file to column of class 'Date'parseDate
Plots layered outputplotLayeredOutput
Plots scalar outputplotScalarOutput
Read XML parameter filereadXMLParameterFile
Removes an input for componentremoveComponentInput
Removes all non-MEMORY outputs from solution.removeNonMemoryOutputs
Removes output with given idremoveOutput
Removes an output variable from a given outputremoveOutputVariable
Replaces a variable with another.replaceVariable
Replaces variables with contentreplaceVariablesWithValues
Runs Custom Shiny apprunSimplaceCustomGuiApp
Runs Shiny apprunSimplaceGuiApp
Scales a parameter value by a valuescaleXMLParameter
Sets the value of an input for a given parent elementsetInputValue
Sets the value of an input in all elements of the given categorysetInputValueForCategory
Set a parameter value for a specific parametersetsetXMLParameter
Package with utility function for working with SimplacesimplaceUtil-package simplaceUtil
Creates a graph from a solutionsolutionToGraph
Swaps the order of SimComponents in the solutionswapComponents
Transform layered output data in long formattransformLayeredData
Symbols for unit URIsunitsymbols
Writes solution to filewriteSolutionToFile
Write parameterdata to xml filewriteXMLParameterFile