tidy3d.web.estimate_cost
tidy3d.web.estimate_cost#
- tidy3d.web.estimate_cost(task_id: str) float #
Compute the maximum FlexCredit charge for a given task.
- Parameters
task_id (str) – Unique identifier of task on server. Returned by
upload()
.- Returns
Estimated maximum cost for
Simulation
associated with giventask_id
..- Return type
float
Note
Cost is calculated assuming the simulation runs for the full
run_time
. If early shut-off is triggered, the cost is adjusted proporionately.- Parameters
task_id (str) – Unique identifier of task on server. Returned by
upload()
.- Returns
Estimated cost of the task in FlexCredits.
- Return type
float