Skip to content

[Translation Error] Quadrature Lobatto #2

@Wendymely

Description

@Wendymely

Hello,
Whenever I try to check or simulate the examples in the slPCMlib I get the following message:

[1] 11:36:50 Translation Error
[slPCMlib.Interfaces.basicPhTransModel: 53:3-57:40]: Type mismatch for positional argument 1 in Modelica.Math.Nonlinear.quadratureLobatto(f=slPCMlib.Examples.Case600FF_PCM_slPCMlib_SingleLayerPCM.lay.phTrModel.enthFcts.spHeatCap_baselineMelting). The argument has type:
  slPCMlib.Examples.Case600FF_PCM_slPCMlib_SingleLayerPCM.lay.phTrModel.enthFcts.spHeatCap_baselineMelting<function>(Real) => Real
expected type:
  f<function>(#Real) => #Real

I haven’t been able to find the solution to this. Has anyone had this same issue and could maybe help me see what I’m overseeing? Thank you so much!

/cc @AGurami @AdamBuruzs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions