fmi

package
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2026 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package fmi writes the SysML notation an FMU imports as: a calc def computed by the `fmi` tool, holding the model's parameters, inputs and outputs as ToolVariable-annotated members.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Notation

func Notation(d *execfmi.Description, opts Options) ([]byte, error)

Notation writes the SysML notation importing the FMU d describes, as a calc def named for the model inside a package: parameters and inputs first, then the reserved experiment parameters, then the outputs — the first of them the calc's return, or `fmi:time` when the FMU declares no outputs.

Types

type Options

type Options struct {
	// URI is what ToolExecution.uri says; required.
	URI string
	// Package names the package the calc def is wrapped in; empty uses the
	// model name, sanitized.
	Package string
}

Options are the choices an import makes beyond the model description itself.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL