ansys / ansys/pyaedt-examples

The solve_inside attribute of 2R network should be removed.

Open
#317 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
44
Forks
13
Avg merge
5d 12h
Merged PRs (30d)
6

Description

### deployment template

rep-core

### Bug description

# Assign boundary conditions
if row["block_type"] == "solid":
ipk.assign_solid_block(
object_name=block_name,
power_assignment=row["power"] + "W",
boundary_name=block_name,
)
elif row["block_type"] == "network":
ipk.create_two_resistor_network_block(
object_name=block_name,
pcb=board.name,
power=row["power"] + "W",
rjb=row["Rjb"],
rjc=row["Rjc"],
)
else:
ipk.modeler[block.name].solve_inside = False
ipk.assign_hollow_block(
object_name=block_name,
assignment_type="Total Power",
assignment_value=row["power"] + "W",
boundary_name=block_name,
)

https://examples.aedt.docs.pyansys.com/version/dev/examples/electrothermal/components_csv.html

### Expected Behavior

The solve_inside attribute of 2R network should be removed.

### Steps to reproduce

### Relevant log output

```shell

```

Contributor guide

Open the contributing guide

Research direction

Open the linked components_csv.py AEDT example and inspect the deployment template for rep-core, especially the network branch shown in the issue. Verify where the 2R network's solve_inside attribute is assigned, remove that assignment, and rerun the example or its relevant checks to confirm the generated setup no longer includes it.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.