src.pydasa.elements.specs.conceptual#

Conceptual perspective for variable representation.

This module defines the ConceptualSpecs class representing the abstract identity and classification of a variable.

Classes:

ConceptualSpecs: Conceptual variable specifications

IMPORTANT: Based on the theory from:

# H.Gorter, Dimensionalanalyse: Eine Theoririe der physikalischen Dimensionen mit Anwendungen

Classes#

ConceptualSpecs

Conceptual perspective: variable identity and classification.

Module Contents#

class src.pydasa.elements.specs.conceptual.ConceptualSpecs#

Bases: pydasa.core.basic.Foundation

Conceptual perspective: variable identity and classification.

Answers the fundamental question: “What IS this variable?”. This perspective focuses on:
  • What category does it belong to? (INPUT, OUTPUT, CONTROL)

  • Which framework is it part of? (PHYSICAL, COMPUTATION, SOFTWARE, CUSTOM)

  • Is it relevant for the current analysis?

  • What dimensional framework does it use?

# From Foundation

_name (str): User-friendly name of the variable. description (str): Brief summary of the variable. _idx (int): Index/precedence in the dimensional matrix. _sym (str): Symbol representation (LaTeX or alphanumeric). _alias (str): Python-compatible alias for use in code. _fwk (str): Frameworks context (PHYSICAL, COMPUTATION, SOFTWARE, CUSTOM).

# From ConceptualSpecs

_schema (Optional[Schema]): Reference to the dimensional framework schema. _cat (str): Category of the variable (INPUT, OUTPUT, CONTROL). relevant (bool): Flag indicating if variable is relevant for analysis.

relevant: bool = False#

Flag indicating if variable is relevant for analysis.

__post_init__()#

__post_init__() Initializes the conceptual properties.

Sets up the schema reference based on framework if not explicitly provided.

Raises:

ValueError – If framework configuration is invalid.

Return type:

None

property cat: str#

cat Get the category of the variable.

Returns:

Category (INPUT, OUT, CTRL).

Return type:

str

property schema: pydasa.dimensional.vaschy.Schema | None#

schema Get the dimensional schema reference.

Returns:

The dimensional framework schema.

Return type:

Optional[Schema]

clear()#

clear() Reset conceptual attributes to default values.

Resets category, schema, and relevance flag.

Return type:

None