Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Nyquist plot with imaginary poles, semi-circles only working after 'trick' #613

Closed
@kevindekemele

Description

@kevindekemele

I'm plotting the Nyquist diagram of a transfer function which has poles on the imaginary axis:

import controlimport matplotlib.pyplot as pltimport numpy as npK = 1Gp =  control.tf([1], [1,1,0,0,0]) Gc = control.tf([K], [1]) control.nyquist_plot(Gp*Gc,plot=True,omega_num=1000)plt.show()

Which results in the following incorrect plot, that does not show infinte semicircles, but something incorrect:
image

Also usingindent_direction andindent_radius did not solve this.
The trick I found that makes it work is if I addomega_limits=[0.001,10000] to nyquist_plot:

image

Can you please fix such that the incorrect 'line' does not appear?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp