Skip to content

Handling of Paths for SrvD UserSubs Input Files #2059

Description

@rdamiani

Is your feature request related to a problem? Please describe.

During Loads Analysis, it is convenient to leave Input and Parameter Files that do not change throughout the analysis in a "Template" or "Master" folder. This is the case, for example, of input files used by ServoDyn, such as spd_trq.dat and similar.
Currently, UserVSCont is called with p%RootName as an argument, but that will seek spd_trq.dat in the "current" active folder of the .fst. Yet, the controller may not be changing across various DLC runs, and it would be efficient to leave it unaltered within a "template" folder thatcontains the main SrvD input file as well.

Describe the solution you'd like
For this reason, p%RootName could be replaced by p%PriPath in the call to the UserSubs in SrvDyn. PriPath, path to the primary SrvD input file is already available, thus a small change to the registry would take care of this. I have implemented this change, and it seems to work out well. Alternatively, one would have to copy the spd_trq n_DLCs times in the various DLC folders...

Metadata

Metadata

Assignees

No one assigned

    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