| 
			
			
			
				
					
						MacOS directive .func does not work
					
					
				
				
			
			
			 
				Yes, it was a missing closing parenthesis. Puzzling that PC would not complain by Mac OS would. Thank you all for helping. Roman
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #156895
			
			·
			
				
			
			
			
		 | 
	
| 
			
			
			
				
					
						MacOS directive .func does not work
					
					
				
				
			
			
			 
				I have circuit which uses: .func myf(nom,tol) (nom+nom*(gauss(tol/5)) and a resistor which has a value {myf(400,0.1)} Besides these two I have a voltage source and I can simulate this circuit on a PC.
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #156772
			
			·
			
				
			
			
			
		 | 
	
| 
			
			
			
				
					
						.ac analysis on Mac computer
					
					
				
				
			
			
				
					
						
							
								#Mac
							
						
					
				
			
			 
				This was the same file. I use virtual PC Parallels running Windows 11.
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #135977
			
			·
			
				
			
			
			
				
			
		 | 
	
| 
			
			
			
				
					
						.ac analysis on Mac computer
					
					
				
				
			
			
				
					
						
							
								#Mac
							
						
					
				
			
			 
				I rebooted my Mac and it LTspice displays it correctly.
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #135976
			
			·
			
				
			
			
			
				
			
		 | 
	
| 
			
			
			
				
					
						.ac analysis on Mac computer
					
					
				
				
			
			
				
					
						
							
								#Mac
							
						
					
				
			
			 
				I am running AC simulation on my Mac and the plot will not exceed 1 MHz even thought the .ac card is specified to run 100 meg. .ac dec 20 1 100meg I ran the same file on a Windows 10 and the AC plot s
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #135897
			
			·
			
				
			
			
			
				
			
		 | 
	
| 
			
			
			
				
					
						Mac FFT displays only one waveform
					
					
				
				
			
			
				
					
						
							
								#FFT
							
						
					
						
							
								#Mac
							
						
					
				
			
			 
				I have PC version running on Mac under Parallels in Windows 10 and FFT works like it supposed to as described in your email. This is not the case on Mac. In Mac version if I want to add a waveform it
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #130738
			
			·
			
				
			
			
			
				
			
		 | 
	
| 
			
			
			
				
					
						Mac FFT displays only one waveform
					
					
				
				
			
			
				
					
						
							
								#FFT
							
						
					
						
							
								#Mac
							
						
					
				
			
			 
				In my simulation I wanted to view FFTs for three waveforms and it will only show one waveform. I can view the .fft file on PC and it contains all three waveforms.
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #130520
			
			·
			
				
			
			
			
				
			
		 | 
	
| 
			
			
			
				
					
						parsing parameters in pwl file
					
					
				
				
			
			
			 
				Thank you. Both of these methods are very good. -Roman
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #37838
			
			·
			
				
			
			
			
		 | 
	
| 
			
			
			
				
					
						parsing parameters in pwl file
					
					
				
				
			
			
			 
				Anyone tried to use parameters in pwl file? For example I compute time from .param fxy = 300/5000 and want to use that value in a pwl function of a voltage source. Example of entry: 0 0 {fxy} 1 It wor
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #37661
			
			·
			
				
			
			
			
		 | 
	
| 
			
			
			
				
					
						tran analysis has uneven time samples
					
					
				
				
			
			
			 
				Thanks for the idea. The utility lsputil is interpolating evenly spaced data if one does not exist. This is a cause of high degree of inaccuracy in spectra lines below 82 dB. We are looking at interpo
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #29762
			
			·
			
				
			
			
			
		 | 
	
| 
			
			
			
				
					
						tran analysis has uneven time samples
					
					
				
				
			
			
			 
				Hello, I need to analyze a circuit in frequency domain showing magnitude and phase (unwrapped). I have to use transient analysis because nonlinear effects are only modelled in time domain. Build in FF
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #29759
			
			·
			
				
			
			
			
		 | 
	
| 
			
			
			
				
					
						sin(2*pi*1k*time) ?
					
					
				
				
			
			
			 
				Hello, I was trying to use the waveform part of the simulator. I don't understand why I get unexpected result with a sine wave. I use a result of a simulation running a simple circuit of a sine wave g
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #5390
			
			·
			
				
			
			
			
		 | 
	
| 
			
			
			
				
					
						average over a time period
					
					
				
				
			
			
			 
				Hi Helmut, I see the solution and I like too. I would like to use this for other applications. I could not find any description on idt(x) function. Could you point to a right direction? Thank you, Rom
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #5268
			
			·
			
				
			
			
			
		 | 
	
| 
			
			
			
				
					
						gm of MOSFET
					
					
				
				
			
			
			 
				Yes, HSpice has it simple. I don't know LTspice that well yet. Maybe plotting results of DC sweep (Id vs. Vgs) and using the D() operator on the wave form would be the one way to go. Roman --- walterj
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #5266
			
			·
			
				
			
			
			
		 | 
	
| 
			
			
			
				
					
						gm of MOSFET
					
					
				
				
			
			
			 
				Yes, it can. Use DC op point analysis (.op) and then view Spice output file called Spice Error Log. Roman --- walterjsw <walterjsw@...> wrote: __________________________________ Celebrate Yahoo!
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #5239
			
			·
			
				
			
			
			
		 | 
	
| 
			
			
			
				
					
						Setting KF = 0 partial solution
					
					
				
				
			
			
			 
				Hi everyone, With the new standard.bjt file we have to set KF=0 to assure correct noise computation. The fix is only good for noise spectra above 1/f knee. To analyze 1/f noise we need the correct val
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #5235
			
			·
			
				
			
			
			
		 | 
	
| 
			
			
			
				
					
						Possible flaw in standard.bjt.txt
					
					
				
				
			
			
			 
				Thank you. It works now. Roman --- Helmut Sennewald <helmutsennewald@...> wrote: __________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #5219
			
			·
			
				
			
			
			
		 | 
	
| 
			
			
			
				
					
						Waveform derivative or integral
					
					
				
				
			
			
			 
				How can I create a waveform derivative or integral? It would be very convenient in sweep analysis to find first or second derivative. In trans analysis integrating a waveform over unit of time can sho
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #5216
			
			·
			
				
			
			
			
		 | 
	
| 
			
			
			
				
					
						Possible flaw in standard.bjt.txt
					
					
				
				
			
			
			 
				Hello, I have made this correction to KF and it did not helped. Roman --- Helmut Sennewald <helmutsennewald@...> wrote: __________________________________________________ Do You Yahoo!? Tired of
			 
			Від
			
				
					
	
		
  
	
    RomanS.
	
	
				
			
			
				· #5196
			
			·
			
				
			
			
			
		 | 
	
			
				1 - 19 з 19