Skip to content

[ENH] Need instruction on how to create a callable for evaluating specific alloys #5

Description

@amkrajewski

We need a manual that answers "How do I create a callable for evaluating specific alloys? Given TDB, temperature parameters, and other settings."

Something like:

# Initialize
feasibilityEvaluator = feasibilityEvaluatorInit(
    comps = ['SS304L', 'NiCr', 'V'],
    database = 'TCFE8',
    eleAmountType = 'massFraction',
    pressure = 101325,
    temperatureRange = (900, 2300, 10),
    maxNumSim = 250
    )

to then

# Run
feasibilities = []
for candidate in [[0.2, 0.8, 0], [0.333, 0.333, 0.333], [1, 1, 1]]:
    feasibilities.add(feasibilityEvaluator(candidate))

The 3 examples in [[0.2, 0.8, 0], [0.333, 0.333, 0.333], [1, 1, 1]] are selected to show 0 can be passed directly and [1, 1, 1] is normalized to give the same results as [0.333, 0.333, 0.333].

We also need instruction on how to define SS304L, NiCr, V for the above.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions