Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pysoltrace not plotting heat flux data for virtual stage #53

Open
oriolgalceran opened this issue Jan 14, 2024 · 0 comments
Open

pysoltrace not plotting heat flux data for virtual stage #53

oriolgalceran opened this issue Jan 14, 2024 · 0 comments

Comments

@oriolgalceran
Copy link

oriolgalceran commented Jan 14, 2024

Hi,

I'm trying to plot the heat flux data for a virtual stage between my heliostats and collector. In the 3d plot it works as expected:

image

However in the 2d heat flux plot everything seems at zero:

image

Here's my stage declaration:


sensors = PT.add_stage()
sensors.is_virtual = True
sensors.is_multihit = True

ela = sensors.add_element()
ela.position = Point(0,0,5)
ela.aim.z = 0.
ela.aim.x = 0.
ela.aim.y = 0.
ela.optic = opt_abs
ela.surface_flat()
ela.aperture_rectangle(10,10)

I tried with and without multihit and nothing changes. The reason I've added an optic even if it's a virtual stage is that it crashes without it.

On the plot_flux function I've tried with absorbed_only True and False and nothing changes either.

Any tips? Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant